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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Create Power BI report from power automate

I have a power bi template which I want to use with flow.


Whenever a folder is created in sharepoint folder I want to use the power bi template to create a new report/dashboard.


All the data files are stored in the sharpoint folder and all i have to do is pass the folder path to the parameter in power bi template and the dashboard will be created as the data file names won't change,

In the source of all the data files i have use the the parameter as prefix to all data fix path like :
Source = Csv.Document(Web.Contents(folderPath &  "/accountsreports.csv"),[Delimiter=",", Columns=42, Encoding=65001, QuoteStyle=QuoteStyle.None]),where 'folderPath' is the parameter.
Is there a way to do it?
 

5 REPLIES 5
pmreis
Super User
Super User

Hi @Anonymous 

 

If the reports are single use, do they need to be in Power BI Service?

 

I would simplify this with the following:

  • When the folder is created, it triggers a flow which notifies the user(s) by email with the path.
  • The users can then copy this path, and open the Template in Power BI Desktop, and insert themselves the URL.

 

This method is dependent on the number of users of course, if it's very limited it's simple and will work, otherwise it's not efficient.
If you have many users, I don't think the template replication is the right method for the long run. Need to consider folder permissions and Dynamic RLS for sure.


Pedro Reis - Data Platform MVP / MCT
Making Power BI and Fabric Simple

If my response resolved your issue, please mark it as a solution to help others find it. If you found it helpful, please consider giving it a kudos. Your feedback is highly appreciated!

Find me at LinkedIn
Anonymous
Not applicable

Hello @pmreis ,

This is the way I am doing it currently. However, I wanted to see if it's possible to automate. Primarily only two user are invlolved, so there shouldn't be a with permissions.
Each dashboard created belongs to a different project. 

aj1973
Community Champion
Community Champion

Hi @Anonymous 

You need to create parameters in Power Query for Folder Path string. 

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters

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

christinepayton
Super User
Super User

Are you sure you don't want to be using a single report with row-level security to filter instead of creating buckets of reports? If you need to change something in the report later, it will be an unholy terror to fix it in every location if you create a new file each time.

Anonymous
Not applicable

Hello,

 

yes, I need to use different report every time because all the reports will be one time use only.

 

Any changes will be implemented on the reports from that day onwards.

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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