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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregation for pivot

Hello All,

Aggregation function not working properly.

At present i am getting values as

Type Of Plant =DATE(Date)
A 4/1/2012 135.00
5/1/2012 162.00
6/1/2012 189.00
7/1/2012 216.00
B 4/1/2012
5/1/2012
6/1/2012
7/1/2012
C 4/1/2012
5/1/2012
6/1/2012
7/1/2012

i need  is

Type Of Plant =DATE(Date)
A 4/1/2012 135.00
5/1/2012 162.00
6/1/2012 189.00
7/1/2012 216.00
B 4/1/2012 135.00
5/1/2012 162.00
6/1/2012

189.00

7/1/2012 216.00
C 4/1/2012 135.00
5/1/2012 162.00
6/1/2012

189.00

7/1/2012 216.00

ie In  the last field i should get the total for all the Type of plant wrt to a particular date

Please find the attached qvw.

Thanks and Regards,

Priya

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try this expression:

aggr(NODISTINCT(sum(HSD)-sum(Rated)),Date)

View solution in original post

2 Replies
tresB
Champion III
Champion III

Try this expression:

aggr(NODISTINCT(sum(HSD)-sum(Rated)),Date)

Not applicable
Author

Thanks a lot