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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Cuurncy conversion

Hi I have a query regarding currency conversion.
I have 5-6 POS( Point of sales) CA, US, AU, NZ.
I have a slicer Of POS when I select any single one then it is showing respective Cuurncy sales, but on multiple selection of POS(AU, CA, US, NZ) it is merging all CAD, USD, AUD etc. I need to convert them in one wether in CAD or in USD.
Please suggest any measure.

Thanks in advance 
Gurpreet Singh 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

lbendlin , thanks for your concern about this case. I tried to create a sample data myself based on the user's requirement and implemented the result. Please check if there is anything that can be improved. Here is my solution:
Hi  @Gurpreetsingh1 ,

Here are the steps you can follow:

1. Create a table that contains the exchange rates for each currency relative to your desired base currency (e.g., USD or CAD).

vyangliumsft_0-1733196724675.png

2. Create measure.

USRate =
var _rate=MINX(FILTER(ALL('RateTable'),'RateTable'[CurrencyA]=MAX('Table'[Point])&&[Convert CurrencyB]="US"),[Conversion rate])
return
SUMX(
    FILTER(ALL('Table'),'Table'[Point]=MAX('Table'[Point])),[Sales])
    *
_rate
CARate =
var _rate=MINX(FILTER(ALL('RateTable'),'RateTable'[CurrencyA]=MAX('Table'[Point])&&[Convert CurrencyB]="CA"),[Conversion rate])
return
SUMX(
    FILTER(ALL('Table'),'Table'[Point]=MAX('Table'[Point])),[Sales])
    *
_rate

3. Result:

vyangliumsft_1-1733196724677.png

If the results above don't meet your expectations, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you

 

Best Regards,

Liu Yang

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

3 REPLIES 3
Anonymous
Not applicable

lbendlin , thanks for your concern about this case. I tried to create a sample data myself based on the user's requirement and implemented the result. Please check if there is anything that can be improved. Here is my solution:
Hi  @Gurpreetsingh1 ,

Here are the steps you can follow:

1. Create a table that contains the exchange rates for each currency relative to your desired base currency (e.g., USD or CAD).

vyangliumsft_0-1733196724675.png

2. Create measure.

USRate =
var _rate=MINX(FILTER(ALL('RateTable'),'RateTable'[CurrencyA]=MAX('Table'[Point])&&[Convert CurrencyB]="US"),[Conversion rate])
return
SUMX(
    FILTER(ALL('Table'),'Table'[Point]=MAX('Table'[Point])),[Sales])
    *
_rate
CARate =
var _rate=MINX(FILTER(ALL('RateTable'),'RateTable'[CurrencyA]=MAX('Table'[Point])&&[Convert CurrencyB]="CA"),[Conversion rate])
return
SUMX(
    FILTER(ALL('Table'),'Table'[Point]=MAX('Table'[Point])),[Sales])
    *
_rate

3. Result:

vyangliumsft_1-1733196724677.png

If the results above don't meet your expectations, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you

 

Best Regards,

Liu Yang

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

Thanks for the solution 

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.