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: 
mgoddard
Contributor
Contributor

How to get expression to sum by field not total

I have a  pivot table pulling data from multiple tables and not displaying what I would assume to be the correct summation of the data.  Each FC Month (period) in this example had a salesQTY in each SIOP period, however the total for all three SIOP periods is being displayed in each row. 

mgoddard_0-1696934311142.png

For Example 2401 should be:

P1 = 336,000

P2 = 163,500

P3= 163,500

Labels (3)
1 Reply
Chanty4u
MVP
MVP

try this

Aggr(Sum(SalesQTY), FC_Month, SIOP_Period)