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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

How To assign labels to slicer values?

Hi All,

How does one assign values to a slicer where the values read are like 1 or 0 but I want a label such as yes or no for example.

 

Thanks!

1 ACCEPTED SOLUTION

You could do the dimension table as stated above, or add a custom column, if [field] = 1, "yes" , "no"

View solution in original post

5 REPLIES 5
nhoward
Resolver I
Resolver I

HI @Anonymous 

 

Have you tried changing the data type in Power Query Editor?  If the whole column is 0 and 1, then changing the type to True/False puts the words into your data. 

 

I don't know of a way to assign a label to a value of a slicer, the data itself has to say what you want to display. 

 

regards,

Neville

Anonymous
Not applicable

Thanks but I have another control where I number values that I need to change to text so this solution will not work.

 

Many Thanks1

You could do the dimension table as stated above, or add a custom column, if [field] = 1, "yes" , "no"

Anonymous
Not applicable

What's your use case? Can you give an example?

 

You can create a new table with the "Enter Data" button of the home tab and key in the values you want for the slicer and use that table as a dimension that you can use as a slicer after you've created the appropriate relationships.

 

 

Anonymous
Not applicable

yesno.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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