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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Kurren
Helper II
Helper II

How is the DataSourcePath different to report parameters?

If I create a custom connector that has a required text argument in the definition (like in this sample), then when I click on "Get Data"  and select the connector in power bi desktop a dialog box comes up asking me to input those parameters. These are avaialable in power query as the dataSourcePath argument. 

 

When I save the report as a pbit file, I notice that when I open the file it asks me to input the query parameters again, but not the data source path. I can't even change the data source path from the "Data Source Settings" dialog as I am using OAuth. It's nowhere to be found.

 

How can I ask the user for the DataSourcePath when opening the pbit file that uses my custom connector? Why isn't this just the same as report paramters?

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @Kurren ,

 

I don't think the problem is with the custom connector, once we reference the parameters in the data source path, then the template file will open and only prompt for the parameter values and not the data source path.

 

vkkfmsft_0-1657770961823.png

 

Best Regards,
Winniz

Thanks @v-kkf-msft . I am aware of this behaviour, I just wanted to know how to ask for the data source path again. 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.