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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |