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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lucasx15
Contributor III
Contributor III

Aggr with Max

Hi all,

Kindly help me out in the below scenario,

I have a column in which I have the Section(the section numbers are just identifiers), CURRENT DAY AND THE TOTAL OF OCCUPIED BANKS IN EACH SECTION. I need to make the sum of these totals in an object, the total sum needs to be 314.

lucasx15_0-1674653762225.png

 

However, I thought about aggregating the total by section and current day. So I can keep up with each day. I made the following expression, however, it does not return the total value.

 

FirstSortedValue(TOTAL, Aggr(SUM(TOTAL),CD_SECTION,DT_CURENTDAY))

 

 

Labels (1)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

just use SUM() 

=Sum(total)   //      by each dimension

or Sum(TOTAL total)  // OVERALL totals

or Sum(TOTAL  <CurrentDay> total)  // Totals by CurrentDay

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
vinieme12
Champion III
Champion III

just use SUM() 

=Sum(total)   //      by each dimension

or Sum(TOTAL total)  // OVERALL totals

or Sum(TOTAL  <CurrentDay> total)  // Totals by CurrentDay

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
lucasx15
Contributor III
Contributor III
Author

Thank you for helping, Vineeth !😁