Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi ,
i need to upload data which i get through arduino and DHT11 sensor (Temperature and Humidity Sensor) to power bi through powershell. i get the data to powershell but my data won't push to Power bi. can anyone help me with this.
This is my simple code .
While($true)
{
$endpoint = "https://api.powerbi.com/beta/120d52a3-29bc-4916-9ce4-b56c8a7756be/datasets/7401907b-2dc3-4f0d-bc45-b271b00aaddb/rows?key=36u89pKq4YNYiSajbUAcdU2S%2FcOF67gozSCTc6SsPdvUzHn%2FmAwp3oGdHEsRDwMTztofvnjMMnIzz%2FRwPPGZeQ%3D%3D"
$Port = new-Object System.IO.Ports.SerialPort COM5,9600,None,8,one
$Port.Open()
$Port.ReadLine()
$Port.Close()
}
Invoke-RestMethod -Method Post -Uri "$endpoint" -Body (ConvertTo-Json $Port.ReadLine())
Write-Host "Temperature :" $Temperature "Humidity :" $Humidity
sleep 2Thanks in advance
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |