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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Advanced AGGR with Nested If

The below expression at the line level returns the desired outcome. Unfortunately when used in the pivot table the column totals are incorrect. Is there a way to use an if statement like below in the AGGR expression?

=if((not isnull(Order__c.Ship_Date__c)) and Booked_on_AS400_a  <>'' and Rev_Rec_a > Today(),sum(Total_Price_a))

Thanx

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

I'd expect you to be able to use just about any expression in an aggr to get a column total.  The general form is this:

sum(aggr(YourCurrentExpression,YourFirstDimension,YourSecondDimension,etc))

View solution in original post

1 Reply
johnw
Champion III
Champion III

I'd expect you to be able to use just about any expression in an aggr to get a column total.  The general form is this:

sum(aggr(YourCurrentExpression,YourFirstDimension,YourSecondDimension,etc))