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
Asd123
Microsoft Employee
Microsoft Employee

Switch sharepoint folder source with the help of dataset parameters in power bi service

Hi,

 

Consider one report is created by user A using his sharepoint folder in Power BI Desktop and published to Power BI Service.

In the same published report, User B wants to use his sharepoint folder by simply changing dataset parameters from dataset settings in Power BI Service.

How can achieve this?

 

Thanks in advance.

1 REPLY 1
christinepayton
Super User
Super User

The datasource parameters are not something viewers interact with, they would need to edit the the report to change them. The SharePoint folder connector, despite its name, actually connects to the site level, not a specific folder (unless you filter on folder path in the query). So if you were using parameters, you would need one for the site URL and one for the folder path - so you'd create those and then replace the references in the advanced editor for the query with your own.

 

Keep in mind that there are two places that reference these in the SP folder connector - the main query and one of the helper queries, so you'd need to update both. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 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.