Forum Discussion
Set a checkbox with DAX
Hi,
Is it possible with a DAX statement to set/klick a checkbox?
BR
Torsten
3 Replies
- AnonymousNot applicable
Hi torsten_FO ,
You can use the selectedvalue() function, when you click on the value in the slicer checkbox, the selectedvalue() function will get the value you clicked.
https://docs.microsoft.com/en-us/dax/selectedvalue-function
Here are the steps you can follow:
1. Create measure.
Measure = SELECTEDVALUE('Table'[Value])2. Result:
If it is not the result you want, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- torsten_FO
Helper I
Hi Liu,
sorry, this is not that what I meen. I'll give you an example:
I have a slicer with month names on my report. The challange is now to select the month what we currently have. I have an example file for that 😉 How can I put this in this post?
- AnonymousNot applicable
Hi torsten_FO ,
You can put the data in the network cloud disk and copy the link
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.