# QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

cancel
Showing results for
Did you mean:  Contributor

## 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  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,  MVP

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 Community Browser