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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now


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



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.

Solution Sage
Solution Sage

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

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors