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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Cynot
Advocate I
Advocate I

Adding data via API doesn't refresh dashboard

Hello all,

 

I am sure I'm doing something wrong, but I'd love some insight from others.  I downloaded the PBIGettingStarted-import solution so that I could experiment and learn more about leveraging the API to get a real-time dashboard.

 

I was able to tweak it so that it creates my dataset and it can add / remove rows, but the problem is I have to manually click "Refresh" on my reports / dashboard in order to see the changes.  When I first tried the sample api solution it would show the data changes instantly...I'm not sure what is different / why my changes now require me to manually click refresh.

 

Is there some kind of setting I need to use to tell the report to refresh automatically?  I can click on the report...run my code to make a change, click to another report and come back...no change....click refresh...changes loaded.

 

Any help or guidance would be greatly appreciated.

 

 

EDIT:

 

Ok...maybe something changed.  I first used the sample console app maybe a month or so ago, and when I did it would create the "SalesMarketing" dataset, and add / delete rows on that dataset.

 

When I first was messing with this I created a report that showed the rows on that dataset, and when I ran the console application I would be able to see the changes in real-time on my report.  Now, some time later, I tried to modify the sample app to use it for my purposes and I wasn't seeing the real-time update on my report which confused me.  But when I re-download the sample app and just run it as is, I noticed that the sample app no longer causes the reports to refresh in real-time either.

 

Perhaps something changed?

 

Is there a way for me to push data out and update a dataset, causing reports / dashboards based on that dataset to automatically show the latest data without requring the user to refresh?

 

We have a television in our produciton area where management wants to see metrics / dashboards displaying information in real-time.  No one will be standing there to hit refresh 😉

 

EDIT 2:

 

Figured it out.  After a lot more searching and trial/error I found the thread below: 

 

https://community.powerbi.com/t5/Developer/power-bi-api-real-time-report/m-p/20005/highlight/true#M3...

 

rwong mentioned that pinning a report page does not allow for real-time updates.  That was my problem.  I was pinning a report page instead of the report component itself.  When I did that, everything started working correctly.  Hopefully someone else finds this helpful.

1 REPLY 1
KumarDarmesh
Helper IV
Helper IV

thx for sharing.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.