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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
torsten_FO
Helper I
Helper I

Set a checkbox with DAX

Hi,

Is it possible with a DAX statement to set/klick a checkbox?

 

BR

Torsten

3 REPLIES 3
Anonymous
Not 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.

Anonymous
Not 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:

vyangliumsft_0-1645412581983.png

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

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?

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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