Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Brysonds
Contributor III
Contributor III

Dividing by Set Analysis is Filtering Data

Hello,

I have a simple table of currencies and rates.

I want to divide all rates by a single rate.

I tried this expression: Sum([Month End Rate]) / Sum({<Currency={EUR}>}[Month End Rate])

However, when I look at the table of currency, month end rate, and this measure, it only shows me the calculation for EUR.

I want to see all currencies, their month end rate, and a 3rd column which is month end rate / EUR rate.

 
Currency Month End Rate Value I want (rate / eur rate) Value I am getting using measure above
AED 3.67 4.12 -
DKK 6.67 7.49 -
EUR 0.89 1.00 1
GBP 0.74 0.83 -

 

Labels (2)
1 Solution

Accepted Solutions
chrismarlow
Specialist II
Specialist II

Hi,

Not tested but maybe try;

Sum([Month End Rate]) / Sum(TOTAL {<Currency={EUR}>}[Month End Rate])

Cheers,

Chris.

View solution in original post

2 Replies
chrismarlow
Specialist II
Specialist II

Hi,

Not tested but maybe try;

Sum([Month End Rate]) / Sum(TOTAL {<Currency={EUR}>}[Month End Rate])

Cheers,

Chris.

Brysonds
Contributor III
Contributor III
Author

That was the trick!! Thank you so much for the quick reply and guidance!