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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

DAX based on 3 columns

Hi,

I want to create a measure and use it as a slicer.

Here is my table.

My measure should be in the name of "NotListed". It should be give the values which Available_Status = Available and Active_Status ="Blank" and Not Active_Status="Blank".

image.png

 

Thanks !

 

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @Anonymous ,

 

you cannot use a measure as a slicer, but you can use a calclated column as a slicer.

Add a calculated column:

NotListed = If(myTable[Available_Status]="Available" &&  myTable[Active_Status]="" && myTable[Not Active_Status] <> "" , "NotListed", "Listed")

 

If your string is really blank and not just an empty string use the BLANK() function to check against.

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up.

Best regards
Denis

Blog: WhatTheFact.bi

View solution in original post

1 REPLY 1
selimovd
Super User
Super User

Hey @Anonymous ,

 

you cannot use a measure as a slicer, but you can use a calclated column as a slicer.

Add a calculated column:

NotListed = If(myTable[Available_Status]="Available" &&  myTable[Active_Status]="" && myTable[Not Active_Status] <> "" , "NotListed", "Listed")

 

If your string is really blank and not just an empty string use the BLANK() function to check against.

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up.

Best regards
Denis

Blog: WhatTheFact.bi

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors