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

aggregate

Hi,

I have data at Dyn Pump param id and I wantit to sum on Zone level ,

I have used following expression

aggr(sum( if([%Link Pump Group]<>[DYN Pump Group Id] ,

if( [Pump ID]=[DYN Pump Id] ,

ifIsNull([DYN Pump Param Id])=0,Volume)))),[DYN Pump Param Id],[DYN Pump Param Id],[Zone Name])

My data is repeating,

For Zone Central the answer should be 35572.33.

Please correcty my expression

Thanks

Labels (1)
2 Replies
Not applicable

Try

SUM(TOTAL <Zone Level> Volume)

its_anandrjs
Champion III
Champion III

Write like

aggr(sum( if([%Link Pump Group]<>[DYN Pump Group Id] ,
if( [Pump ID]=[DYN Pump Id] ,
ifIsNull([DYN Pump Param Id])=0,Volume)))),[DYN Pump Id],[DYN Pump Param Id],[Zone Name])


Or


aggr(sum( Total if([%Link Pump Group]<>[DYN Pump Group Id] ,
if( [Pump ID]=[DYN Pump Id] ,
ifIsNull([DYN Pump Param Id])=0,Volume)))),[DYN Pump Id],[DYN Pump Param Id],[Zone Name])


Regards

Anand