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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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