Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi every one!
I need to access the current value of a parameter selected by the user using a slicer, in imported mode. However, when I try to use the parameter's value in M Query, it always reterns the default value of the parameter, not the value which is seleted by the user!
In the DirectQuery mode, we would have the current value of the dynamic parameter without any problem.
What can I do to have it in the directed mode as well?
Thanks and best regards,
Hossein
Solved! Go to Solution.
Hi @Farhad88 ,
Thanks for your quick reply, the current version cannot support it by import mode, if you want to change the paramater value, you can only edit it in power query editor or data source setting in Service when you publish the report to the service, you can consider to move your datasource to SQL so that you can use the direct mode.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear @Anonymous and @lbendlin ,
Thanks for your information. I used another strategy to achieve my goal.
Best regards,
Hossein
Hi @Farhad88
The dynamic paramater is supported in direct query mode, you can refer to the following link, if you want to use the dynamic paramater, you need to change the import mode to direct query mode.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous,
Thanks for your reply. But why this very useful feature should be limited to direct query mode?
Do you think that, in the future versions, we may see dinamic parameters working in the imported mode as well? (we really need it in our current project)
Best regards!
Hossein
Hi @Farhad88 ,
Thanks for your quick reply, the current version cannot support it by import mode, if you want to change the paramater value, you can only edit it in power query editor or data source setting in Service when you publish the report to the service, you can consider to move your datasource to SQL so that you can use the direct mode.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
remember that you cannot switch from import to direct query unless you patch the binary inside the zip file.
Hi @lbendlin ,
Please let me know how we can do that? (i.e., patching the binary inside the zip file)
Do you think we may change the type of a Web data source (e.g., Rest API) to direct query? (as far as I know the web data sources are in directed mode by default)
Best regards!
Hossein
The patch only allows you to revert the change from Direct Query to Import mode for a data source that is Direct Query enabled (ie SQL based). Web data sources are not compatible with Direct Query.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.