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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
PowerBINoob321
New Member

Slicer - Selecting multiple items messes up total value

Hope someone can help.

Basically, I have a few sources of data in foreign currencies which I combine.  I also have a list of exchange rates.  So to get all the values in the same currency, I simply say calculate the sum of the value, times the sum of the exchange rate in the exchange rate list.

It looks like this:

ValueRandBudget = (calculate(sum(BudgetsPowerBI[Value]) * sum(CurrencyConversion[Conversion])))
 
But if I select multiple items (different countries), then the it looks like the conversion is stacked. It's way too high.

What am I doing wrong?



1 ACCEPTED SOLUTION
NikhilChenna
Continued Contributor
Continued Contributor

Hi @PowerBINoob321 ,

Firstly you have to bring the conversionrate in to your combined table by creating a calculated column using lookup value funtion based on the country.

After that you can create another column for conversion simply you can say , 

 

BudgetsPowerBI[Value]*BudgetsPowerBI[Conversion]

 

This should help.

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
NikhilChenna
Continued Contributor
Continued Contributor

Hi @PowerBINoob321 ,

Firstly you have to bring the conversionrate in to your combined table by creating a calculated column using lookup value funtion based on the country.

After that you can create another column for conversion simply you can say , 

 

BudgetsPowerBI[Value]*BudgetsPowerBI[Conversion]

 

This should help.

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

I typed up a whole long response, but as I was typing I figured out my problems.  Had to learn Lookupvalue - how did I survive so long without it?!?!

 

Thanks for the awesome quick response.

I learnt:

- Lookupvalue

- Better to expand on you main value table

 

Cheers!

Hi @PowerBINoob321 , If this works.

Please Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Please Mark my post as a solution!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.