Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!