Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Best way to stream data from MySQL

Hi! I have a MySql database that has data from IoT sensors. The Database gets new values every 5 minutes.  I'd like to see historic data (so the data must be saved) and also the changes as quickly as possible. What would be the way to connect to this database in my situation?

 

Thanks in advance!

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

@Anonymous,

Based on your requirements, I think that a Push dataset in the Power BI Service would work best, if you want to retain historical data.

For streaming data to Power BI, you will need to set up something to read changes from your database since the last run and then publish to the streaming dataset endpoint that you create. There will be some work to develop the mechanism to query/send data to Power BI from your database. Power BI does not poll for changes; it will just receive them from the sending system or service. The above article details this but here's the permlink to further down the page.

Hopefully this will help you on your way. Good luck!

Daniel

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

@Anonymous,

Based on your requirements, I think that a Push dataset in the Power BI Service would work best, if you want to retain historical data.

For streaming data to Power BI, you will need to set up something to read changes from your database since the last run and then publish to the streaming dataset endpoint that you create. There will be some work to develop the mechanism to query/send data to Power BI from your database. Power BI does not poll for changes; it will just receive them from the sending system or service. The above article details this but here's the permlink to further down the page.

Hopefully this will help you on your way. Good luck!

Daniel

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.