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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
markperrone
Contributor III
Contributor III

Subtotal one column of a table

Date Category Total Date total
1/1/23 A 5 35
1/1/23 B 10 35
1/1/23 C 5 35
1/1/23 D 10 35
1/1/23 E 5 35
1/2/23 A 5 10
1/2/23 A 5 10

 

How can make a table like this?  The total is based on date + category but the date total is based only the date

Labels (3)
1 Reply
Kushal_Chawda

If your Total is expression in table.. (assuming, sum(Value)) ,you can use below expression for Date Total

=sum(total <Date>aggr(sum(Value),Date))  ---> Replace Sum(Value) with your actual expression

If Total is column or dimension in your table, use below expression

=sum(total <Date>Total)