Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

dynamic dimension

Hello at all,

i want create a dynamic dimension:

i have 3 Formulas:

Dynamic DimensionFormula 1Formula 2Formula 3
if([Formula 1] = 0, 'YES, 'NO')= fabs([Formula 3] - [Formula 2])= sum(x)= sum(y)
YES 0 1010
NO5105

How can i create such an dynamic dimension? i can't work with a Dynamic Dimension and [Formula 1] Expression

2 Replies
vgutkovsky
Master II
Master II

You need to think about what the real dimension is behind this calculated dimension. Meaning, what do you want to sum(x) and sum(y) over? Let's say it's "Product". Then your calculated dimension would look like this:

aggr(

       if(fabs(sum(x)-sum(y))=0,'YES','NO')

       ,Product

)

Regards,

Vlad

MarcoWedel

this looks like some kind of recursive or cyclic definition.

How can a calculated dimension depend on an expression that evaluates based on the dimension?

I don't think this is possible.

regards

Marco