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
obaur
New Member

Show numbers in either local currency or $ based on parameter

I have a simple table I use. In this table I have 2 fields with amounts. one in local Currency and one in $. I'd like to use now a parameter with which the user can select in which currency the charts are shown.

How can this be done?

Regards,

Oliver

3 REPLIES 3
LivioLanzo
Solution Sage
Solution Sage

Hello @obaur,

 

you can achieve this by adding an extra table to your model (not connected to any other table) where you would have two rows (Show Amount in USD, Show Amount in Local)

 

afterwards you would add a slicer linked to this table where the user can select either Show Amount in USD or Show Amount in Local

 

then you would adjust your measure to take into consideration the selection of the user

 

=

IF(SELECTEDVALUE(YourNewTable[YourNewColumn]) = "Show Amount in USD", [Your USD measure], [Your Local Measure] ))

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Very good feedback thanks. I will try this.

 

Hi @obaur ,

 

Have you solved your problem?

 

If you have solved, please accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please feel free to ask.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.