Forum Discussion
Anonymous
4 years agoNot applicable
Format Column which has multiple currencies with correct currency symbol
Hi, I've got a table as below: Order Date Net Sale Currency Country 12/01/2021 100 USD US 12/01/2021 200 USD US 13/01/2021 300 USD US 12/01/2021 50 GBP UK 12/01/...
- 4 years ago
Hi, Anonymous
Maybe you can try the following methods.
Measure:
Measure = CONCATENATE ( IF ( SELECTEDVALUE ( 'Table'[Currency] ) = "GBP", "£", IF ( SELECTEDVALUE ( 'Table'[Currency] ) = "USD", "$" ) ), CALCULATE ( SUM ( 'Table'[Net Sale] ), FILTER ( ALL ( 'Table' ), [Order Date] = MAX ( 'Table'[Order Date] ) && [Country] = MAX ( 'Table'[Country] ) ) ) )If a new currency appears, you can then write it in the IF function.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Vahid,
That looks promising but it says calculation groups are not available in Power BI. Thus, currently the remaining part of this article can only be implemented in Azure Analysis Services or Analysis Services 2019
bcdobbs
Community Champion
4 years agoThey are now supported in power bi. You do however have to set them
up using tabular editor.