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

$ sign currency for only few rows based upon condition

Hi @all,

Please let me know if I can make changes to the currency only for few values in a column. 
For Example: If the type is Quantity then Value is 39. If the Type is Dollar then value is $540.

TypeValue
Quantity39
Dollar$540

 

Let me know with the possiblity. Thanks in advance.

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@Anonymous 

you can duplicate the measure and format each accordingly using the formatting options under "Measures tools" in the ribbon. Then use SWITCH to deliver the required output:

Measure format = SWITCH(TRUE(),

SELECTEDVALUE(table column [type]) = "Quantity", [number formatted measure],

[dollar formatted measure])





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

11 REPLIES 11

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.