cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Asd123
Microsoft
Microsoft

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

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors