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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cosmicyes
Helper II
Helper II

What-If Parameter: show different names for parameters to users?

If this is a stupid question just tell me 😉

 

I want to implement a What-if-Parameter with two values: 0 and 1.
If the user sets the slicer to 0 a measure is multiplied by 0.
If the user sets the sliver to 1 the measure is multiplied by 1 and the complete value is shown.

 

Now the question:

Is there any possibility to show the user 0 as "No" and 1 as "Yes"?
I want it to be just an optical tweak.

1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello,

 

You could add a calculated column in the parameter table and insert this dax :

Value = IF(Parameter[Parameter] = 0,"No","Yes")
 

Idrissshatila_0-1671525200354.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos!

 Follow me on Linkedin 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello,

 

You could add a calculated column in the parameter table and insert this dax :

Value = IF(Parameter[Parameter] = 0,"No","Yes")
 

Idrissshatila_0-1671525200354.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos!

 Follow me on Linkedin 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thank you @Idrissshatila 
Great Idea!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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