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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.