Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cross Tab/Pivot with Additional Measurements?

Our customer wants to see a combination of measurements for their key dimensions.  These would include monthly details (pivot month) but also contain yearly averages, and other total measures.  For example, here is a pivot format:

                                        Sales for Month(Jan-Dec)          Average Sales       Measure 1   Measure 2   Measure 3

Region

          State

                    District

Is there an easy solution to get the monthly Sales in a pivot and still add Average Sales, Measure 1-3 (not monthly contributions)?

Thanks.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

For the measures Average Sales, Measure 1-3 you need to use AGGR() function,


for example: Average Sales might be: Avg(Aggr(Sales,Region, State, District))

View solution in original post

1 Reply
Anonymous
Not applicable
Author

For the measures Average Sales, Measure 1-3 you need to use AGGR() function,


for example: Average Sales might be: Avg(Aggr(Sales,Region, State, District))