Forum Discussion
Use Measure in Mquery
- 8 years ago
Hi Powerbiuser206,
If you want to achieve single selection, you can use DAX function selectedvalue(), it you want to achieve multiple selections, you can use DAX function allselected(). M query doesn't support interact with slicer because M query is a data shape language while DAX is a report level language.
Regards,
Jimmy Tao
Your problem explanation does not make a lot of sense. You cannot use DAX measures in the query editor (M). Two different languages with two very different reasons for existing.
Take a look at my article here:
https://community.powerbi.com/t5/Community-Blog/The-Languages-of-Power-BI/ba-p/69104
Hi Greg,
Thankyou for your quick repsonse.
Let me re phrase my question.
Is there a way to pass values from slicers to Parameters in Power BI.
Regards
PowerBIUser
- v-yuta-msft8 years agoCommunity Support
Hi Powerbiuser206,
If you want to achieve single selection, you can use DAX function selectedvalue(), it you want to achieve multiple selections, you can use DAX function allselected(). M query doesn't support interact with slicer because M query is a data shape language while DAX is a report level language.
Regards,
Jimmy Tao