Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 49890

Adding data via API doesn't refresh dashboard

$
0
0

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 Smiley Wink

 

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#M310

 

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.


Viewing all articles
Browse latest Browse all 49890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>