Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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!
Solved! Go to Solution.
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
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
Hi @YacinO, I know this is a late reply but, were you able to get it to work (reference dynamic sources in PBI service)?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |