cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krish89
Helper II
Helper II

Country currency code at the end of Sales Revenue number(e.g, $500 USD)

Hello Power BI community,

 

I have a table in Power BI desktop as below.

Krish89_0-1623440951433.png

I created Total Sales measure on top of the above table data.

Total Sales = SUM(Sales[Revenue])
Now I visualise this data in Matrix visual as below.
Krish89_1-1623441127465.png
But I would like to see the data like below.
When I select Germany in the slicer, It should display the total sales by product for Germany and at the end of the sales value i need country currency code.
The currency code is available in the Sales table(above).
Krish89_2-1623441392625.png

Also If possible I would like to display the currency symbol at front as below.

Krish89_3-1623441693332.png

 

Thanks in Advance!!

 

 
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Krish89 ,

 

Try to create a table with all currency symbols and then create relationship between your fact table and this currency symbol table based on [Currency] column. And then, create a measure like so:

Total Sales = MAX('Currency Symbol'[Currency Symbol]) & SUM(Sales[Revenue]) & MAX(Sales[Currency])

 

In addition, this will transfer the result from "Number" to "Text" format.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Krish89 ,

 

Try to create a table with all currency symbols and then create relationship between your fact table and this currency symbol table based on [Currency] column. And then, create a measure like so:

Total Sales = MAX('Currency Symbol'[Currency Symbol]) & SUM(Sales[Revenue]) & MAX(Sales[Currency])

 

In addition, this will transfer the result from "Number" to "Text" format.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

alekhved
Resolver II
Resolver II

Hi,

 

Please try this

 

New_Column = CALCULATE(CONCATENATE(FORMAT(SUM('Table'[REvenue]),""),min('Table'[Currency])))
 
Thanks!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors