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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
YacinO
Regular Visitor

Dynamic data source for Power BI SERVICE

For the use of my dashboards in Power BI Service, I need to vary my data source based on selection in a column. I've tried setting up a parameter to vary the data source based on the slicer selection of this variable, but I'm struggling with the M language solution. Also I don't even know if its possible for a client to select the variable and to refresh in live the dataset in Power BI Service. My data sources are xslx files.

 

 

Thank you in advance for your help!

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Dynamic M Query parameters only work with Direct Query data sources.  Your xlsx files are Import Mode only.

View solution in original post

Thanks, so its possible for the user in power BI Service to change the sources in live if its direct query data sources ! 🙂 

 

Thanks for your answer

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

Dynamic M Query parameters only work with Direct Query data sources.  Your xlsx files are Import Mode only.

Thanks, so its possible for the user in power BI Service to change the sources in live if its direct query data sources ! 🙂 

 

Thanks for your answer

OmarE
Frequent Visitor

Hi @YacinO, I know this is a late reply but, were you able to get it to work (reference dynamic sources in PBI service)?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.