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
Krunalbpatel
Helper III
Helper III

How to create dynamic report Power BI programatically?

Hi,

 

I want to create dynamic Power BI report programmatically. How Can I  create Dynamic report in Power BI? 

 

Actually I want to create 1 pbix (Power BI Report) and publish the reprot to the Power BI account. Now I want that there are different users in the Application. Based on logged in user I want to generate different reprots for all the users. I want that for every user there are different report generated. Dataset of the report is different for different user. 

 

Is there a way that I can import pbix file and create new dataset and generate report from the newly imported pbix file and dataset for that file will be used that is newly created?

 

Thanks & Regards

Krunal Patel

 

 

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Krunalbpatel wrote:

Hi,

 

I want to create dynamic Power BI report programmatically. How Can I  create Dynamic report in Power BI? 

 

Actually I want to create 1 pbix (Power BI Report) and publish the reprot to the Power BI account. Now I want that there are different users in the Application. Based on logged in user I want to generate different reprots for all the users. I want that for every user there are different report generated. Dataset of the report is different for different user. 

 

Is there a way that I can import pbix file and create new dataset and generate report from the newly imported pbix file and dataset for that file will be used that is newly created?

 

Thanks & Regards

Krunal Patel

 

 


@Krunalbpatel

At this moment, you can't create report programatically. Not sure why you'd like different report for different users, if for scecurity purpose, say people can only see their own data, you can check Row Level Security.

Hi @Eric_Zhang,

 

Thanks for your reply.

 

I know about the Row Level Security. But my requirement will not be satisfied with that. I have to generate report with the Google Analytical data. So I can not get All the users data in 1 dataset. So In that case I have to create manual report for every User. So I want that I can create dynamic dataset and assign to the pbix file. 

 

Thanks

@Krunalbpatel

Well, I'm afraid it is not possible at this moment. You can check this idea Power BI Designer API and vote it up. The Power BI Designer API may allow you to change the dataset in a pbix programatically.

Helpful resources

Announcements
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.