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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
prabavathym
Frequent Visitor

How to Refresh Power BI Reports Based on Values in an Excel File?

Hi everyone,

I need help figuring out how to set up a system to refresh specific Power BI reports based on conditions in an Excel file. Here's the scenario:

I have an Excel file with two columns:

Report Name: Names of the Power BI reports.
Schedule: Either Yes or No to indicate whether the report should be refreshed.
My goal is:

Check the Excel file to see which reports are marked as Yes in the Schedule column.
Refresh only those reports in Power BI, leaving the others unchanged.
I’m open to different approaches, whether it’s using Power Automate, custom scripts, or another tool.

Has anyone done something similar or have suggestions on the best way to achieve this? Any examples, guides, or tips would be greatly appreciated!

Thanks!

2 ACCEPTED SOLUTIONS
uzuntasgokberk
Super User
Super User

Hello @prabavathym ,

 

You can implement via Power Automate. There is a node "Run a query against a dataset" in Power Automate. İn you case it is suitable. For example you can write the a query and make conditional based on your case.

"
EVALUATE
ROW(
"name",CALCULATE(MIN('yourtable'[yourcolumn]))
)
"

uzuntasgokberk_0-1737372177423.png

Best Regards,
Gökberk Uzuntaş

LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/

Medium: https://medium.com/@uzuntasgokberk

 

İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.

View solution in original post

Hi @uzuntasgokberk ,

Thanks for the suggestion! I’ll give the "Run a query against a dataset" node a try and see how it works for my scenario. Appreciate the help!

View solution in original post

5 REPLIES 5
v-jtian-msft
Community Support
Community Support

Hi,@prabavathym .

Has your problem been solved?
If you have found suitable solutions, please share them as it will help more users with similar problems.
For example, relevant code or links to articles.
Or you can mark the valid suggestions provided by other users as solutions.
Thank you very much for your understanding and support of Power BI.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-jtian-msft
Community Support
Community Support

Hi,uzuntasgokberk ,thanks for your concern about this issue.

Your answer is excellent!
And I would like to share some additional solutions below.

Hi,@prabavathym .I am glad to help you.
I found uzuntasgokberk 's advice helpful and I've made some additional additions for him below.
If you would like to learn more about the exact process of creating a Power BI auto refresh using Power Automate, I hope the following links will be helpful to you
URL:
Dynamically Refresh Power BI Datasets with Power Automate
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian

Hi @v-jtian-msft ,

Thanks for the additional suggestions and resources! I appreciate you for sharing those links. I’ll check them out and let you know if I have more questions.

uzuntasgokberk
Super User
Super User

Hello @prabavathym ,

 

You can implement via Power Automate. There is a node "Run a query against a dataset" in Power Automate. İn you case it is suitable. For example you can write the a query and make conditional based on your case.

"
EVALUATE
ROW(
"name",CALCULATE(MIN('yourtable'[yourcolumn]))
)
"

uzuntasgokberk_0-1737372177423.png

Best Regards,
Gökberk Uzuntaş

LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/

Medium: https://medium.com/@uzuntasgokberk

 

İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.

Hi @uzuntasgokberk ,

Thanks for the suggestion! I’ll give the "Run a query against a dataset" node a try and see how it works for my scenario. Appreciate the help!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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