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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PBISM
New Member

Dashboard auto refresh not working

Hi All,

 

I am trying to test an auto PBI dashboard refresh. I have a simple dashboard that is connected to an Excel file hosted on One Drive For Business. The Excel file has only 1 table with some dates in it.

 

In the dashboard, I have a  power automate script that has only one action " Refresh a dataset". The excel table field is linked to the power automate visual.

 

PBISM_0-1694874121098.png

 

The dashboard has the dates data shown in a table visual:

 

PBISM_1-1694874278244.png

 

 

 

I now manually go to the Excel file and update the table by adding more records (dates). I click save though not required as its online. When I click the Run Flow in the dashboard I expect the dataset to get refreshed and the dashboard to get refreshed with the new data that I added in the Excel file.

 

I am however facing the 2 below issues:

 

1. When I click on the flow I can see the data set refreshing but the dashboard does not refresh, When i click on the refresh button in the online dashboard only then the visuals update.   

 

Dataset refreshing icon at extreme right circled.

PBISM_2-1694875391591.png

 

2. Sometimes manually refreshing the dashboard is also not enough. I need to manually also refresh the dataset even though the flow shows that the dataset refreshed

 

Below are the dataset settings. The credentials are proper and i have also enabled a weekly data refresh even though i don't need it, just in case that's the setting required. I just need the refresh to happen when the flow runs.

PBISM_3-1694875796819.png

 

 

What am i doing wrong. Appreciate all the help 

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PBISM ,

There are two ways for you, please refer:

1. You could try OneDrive Refresh, it automatically refreshes the dataset once an hour.

   Please refer this document: Data refresh in Power BI - Power BI | Microsoft Learn

 

2. You could create a flow in Power Automate, you need put your data to SharePoint, then create below flow, Power Automate provide the template.

vbinbinyumsft_0-1695106269217.png

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @PBISM ,

There are two ways for you, please refer:

1. You could try OneDrive Refresh, it automatically refreshes the dataset once an hour.

   Please refer this document: Data refresh in Power BI - Power BI | Microsoft Learn

 

2. You could create a flow in Power Automate, you need put your data to SharePoint, then create below flow, Power Automate provide the template.

vbinbinyumsft_0-1695106269217.png

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

aj1973
Community Champion
Community Champion

Hi @PBISM 

You are not doing anything wrong and all the set up is good. You just need to give it couple minutes for the cache to refresh or do it manually like you did. By the way it is a report that you are talking about and not a dashboard.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

tango
Frequent Visitor

Thanks @aj1973 

 

As you mentioned, I noticed that I needed to keep a lag between updating the Excel file and refreshing the dataset even if it's Excel online and immediate save.

 

If I kept a couple of minutes between updates and then refreshed the manual report online, it would update. with the changes.

 

Is it possible to also update the report automatically without doing a manual online refresh. 

 

Thanks

aj1973
Community Champion
Community Champion

Direct Query mode connection could be a good solution for you. You won't need power automate either 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors