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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
hellgoingon
Helper II
Helper II

Load data automatically into chart

Hi all,

 

I'm using Power BI desktop to load data (from SQL server 2012) into charts and publish chart to dashboard on website (https://app.powerbi.com/groups/me/dashboards/).

 

When data in SQL server 2012 is changed, how can these changes be updated automatically into charts?

2 ACCEPTED SOLUTIONS
BhaveshPatel
Community Champion
Community Champion

Should use DirectQuery to connect to SQL Server.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

ankitpatira
Community Champion
Community Champion

@hellgoingon You have few options depending on how comfortable are you with the approach.

 

1. Use schedule refresh of power bi to periodically update data in visuals.

2. Use DirectQuery feature of power bi ie you connect live to your SQL database and don't require any refresh. Data in your visuals is live and always upto date.

3. User Power BI REST API to programatically push data in real-time to dataset that is published to power bi service.

View solution in original post

3 REPLIES 3
ankitpatira
Community Champion
Community Champion

@hellgoingon You have few options depending on how comfortable are you with the approach.

 

1. Use schedule refresh of power bi to periodically update data in visuals.

2. Use DirectQuery feature of power bi ie you connect live to your SQL database and don't require any refresh. Data in your visuals is live and always upto date.

3. User Power BI REST API to programatically push data in real-time to dataset that is published to power bi service.

It works perfectly with DirectQuery. Thanks for help.

BhaveshPatel
Community Champion
Community Champion

Should use DirectQuery to connect to SQL Server.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.