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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Delta with three dimensions in table?


Hi,

I have a problem to do a delta with three dimensions. With two dimensions, using Secondary Dimensionality is fine, but with three dimensions doesn't work.

Can someone help me?

Follow attached an example.

Thanks!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You probably need to test SecondaryDimensionality() against 1, not 0.

Just input an expression

=SecondaryDimensionality()

and see what is returned at that column.

View solution in original post

6 Replies
swuehl
MVP
MVP

Guilherme, could you check your attachment? Can't see neither the data  nor the table chart.

Not applicable
Author

Sorry swuehl. I think it's easier an excel file, I don't know why the qv file doesn't works.

swuehl
MVP
MVP

How does your expression look like?

Not applicable
Author

 

if(SecondaryDimensionality()=0, last(sum(Sales))-first(sum(Sales)), sum(Sales))

swuehl
MVP
MVP

You probably need to test SecondaryDimensionality() against 1, not 0.

Just input an expression

=SecondaryDimensionality()

and see what is returned at that column.

Not applicable
Author

You're right swuehl, thanks!