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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AMBP73
Helper I
Helper I

Yes,no selection in slicer

Hello everyone.

I am trying to create a yes or no selection in a slicer based on a column that has two unique values and blanks. 

Example 

Ux, Ux/AIW = yes

Blanks =No

I have already created a new one column table with the values 'Yes' and ' no'. Could someone please assist with the correct SELECTEDVALUE measure.

 

Thankyou

2 REPLIES 2
Mahesh0016
Super User
Super User

@AMBP73 I hope this helps you.
Yes/No=IF(     

IS FILTERED(Table[ColumnName]),"Yes","No"
)



Thankyou Mahesh. I have created the measure, Could you please advise if this is applied to the filters, as it cannot be applied to the slicer directly?

Thanks in advance.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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