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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggr for Two dimensions

Hi all..

I would like to display a top in opposite from 2 dimensions.

In my case, I would like a top 10 (Sales) of Products by Activity of Customer  :it's ok.

I input these function in used dimensions:

1 - Activity of Customer

2 - Product (with formula:

If(aggr(rank(Sum({<DATELIV={"$(='>=' & date(vStartDate1) & '<=' & date(vEndDate1))"}>}Sales)),Product)<=10,Product)

and in expression :

Sum({<DATELIV={"$(='>=' & date(vStartDate1) & '<=' & date(vEndDate1))"}>}Sales)

My problem, It's to recuperate those data and to put them in other dimension :The country.

In order : Country/Activity of Customer/Top 10 Products.

I didn't arrive to input this dimension at the top of used dimension because the filters are applied under the sub dimensions.

Can you help me?

Thanks by advance

Bye

Michael

Labels (1)
2 Replies
suniljain
Master
Master

aggr( sum(Sales), Country, Region )

Not applicable
Author

Thanks Sunil

I also tried this function but I didn't arrive to put correctly in function of my structure.

(I m a beginner).

I put this at the top of the used dimension?This function will implicate the aggr() in the sub dimension.

Thanks a lot.