Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

using aggr() in calculated dimension


Hi all,

I load an unit cost table to qvw by year, company, product and orginal_currency

and another rate table by year, month,original currency, reporting currency.

I created 2 aggr() in 2 individual calcuated dimension :

1. aggr(distinct(cost),year,company,product,orginal_currency)

2. aggr(max({<reporting_currency={'JPY'}>}rate), year, month,company,product,orginal_currency)

My question is if it's possible to create a new calculated dimension which is (1 * 2) .

my qvw.jpg

Thanks,

Catherine

2 Replies
Anonymous
Not applicable
Author

Hi,

You can add new dimension with calculated form (1*2) or just in text (one) or number (1) form.

Not applicable
Author

Sorry. My meaning is to add new dimension that multiply below 2 aggr() values Cost * Rate :

1. aggr(distinct(cost),year,company,product,orginal_currency)

2. aggr(max({<reporting_currency={'JPY'}>}rate), year, month,company,product,orginal_currency)