NodeJS to PowerBI

In this tutorial we'll look at connecting a NodeJS library to the Azure IoT Hub and how to display it in a PowerBI report.

Prerequisites

1) NodeJS Project Setup

Initialize Project

Add Dependencies

Create Simulation

note

To connect with real sensors, check out our device connection guide. You can also walk through the RaspberryPI with NodeJS tutorial to dive in deeper.

2) Connect to IoT Hub

Locate Connection String

Configure Connection String

Run Device

3) Connect to PowerBI

Prepare Cold Storage Data Source

Build Report

What's Next?