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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculated Dimension and Aggr()?

Hi there,

I am trying to build a report which requires me to create a calculated dimension, and wondering if one of you guys can help me.

Below are my dataset and desired result. Basically, I would like to create a dimension whose members are ">" and "<=" . Note that ">" correponds to observations in the datasets whose sum of Value 1 is greater than Value 2. Similar idea apply to "<=".

Any help will be greatly appreciated. Thank you.

DataSet:

Dim_01YYYYMMIDValue1Value2
AA2013031129
AA20130329288
AA20130517637
AA2013052273
AA2013071101
AA2013072987
BB20130335840
BB20130349150
BB20130532510
BB20130544583
BB20130731043
BB2013074745
CC20130414047
CC20130426446
CC2013061399
CC20130626211
CC20130812613
CC2013082766
DD20130435196
DD2013063198
EE2013044420
EE2013064169

Desired Result

Dim_01Value1 vs Value2Avg. Value
AA>
<=
BB>
<=
CC>
<=
DD>
<=
0 Replies