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: 
suvechha_b
Creator III
Creator III

Why there is no total on the chart for the sample model.

Hi,

See the attachement.

Capture10.PNG

Capture11.PNG

1 Solution

Accepted Solutions
trdandamudi
Master II
Master II

May be as below:

Expression: JE Forecst Units

=Sum(Aggr( Sum(sales_plan), [Division Code],[Product Code] ))

Or

=Sum({<[Division Code],[Product Code] >} sales_plan)

View solution in original post

3 Replies
tamilarasu
Champion
Champion

Hi,

You need to add sum function in front of the aggr function. Use below expression.

=Sum(Aggr( Sum(sales_plan), [Division Code],[Product Code] ))

trdandamudi
Master II
Master II

May be as below:

Expression: JE Forecst Units

=Sum(Aggr( Sum(sales_plan), [Division Code],[Product Code] ))

Or

=Sum({<[Division Code],[Product Code] >} sales_plan)

MK_QSL
MVP
MVP

You need to use SUM (Aggr(Your Expression, Dim1, Dim2, Dim2))