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

Above or Below function in Pivot table

We use 4 stages (20, 40, 60, 80) to track the progress of a sale. We want a report with various ID info (Company, Sales Rep, Product, etc) in a pivot table with the horizontal dimension being one of these four stages.

Stages.png

In the third row, you can see that the sale went 'backward' - i.e went from stage 60 in Nov/14 to stage 20 in March/15. We want to highlight any sales where they've gone backward.

What I want to do is highlight cells where the date is later than any date in a cell to the right of it. The expression is just "OnDate", which is the field in our database that marks any changes to an opportunity.

Is this where I would use the "above" or "below" functions? Do I use them in the background colour of the expression or the dimension?

(Because the Stage Progress dimension is pulled horizontally, I figured that's where "above" and "below" make the most sense, but I really have no experience with these functions, and the documentation is, as usual, insipid.

Thanks for any insights.

1 Solution

Accepted Solutions
fernando_tonial
Employee
Employee

Hi Kevin,

Pivot Table try functions Before() and Affter().


Don't worry, be Qlik.

Tonial.

Don't Worry, be Qlik.

View solution in original post

2 Replies
fernando_tonial
Employee
Employee

Hi Kevin,

Pivot Table try functions Before() and Affter().


Don't worry, be Qlik.

Tonial.

Don't Worry, be Qlik.
robert_mika
Master III
Master III