
Contributor III
2022-01-04
05:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nested aggregation not allowed using sum and if statement ( tried usingaggr)
Hi,
I am trying to sum the counts of a variable:
here is the code:
=sum(if(aggr([Requesting Agency] = 'JAY',count([Servicing Agency])),1))
but I am getting an error. I want to count the total number of times of the servicing agency being a value when the requesting agency = jay.
827 Views
1 Solution
Accepted Solutions


Partner Ambassador/MVP
2022-01-04
05:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
count({<[Requesting Agency]={'JAY'}>}[Servicing Agency])
-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com
798 Views
1 Reply


Partner Ambassador/MVP
2022-01-04
05:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
count({<[Requesting Agency]={'JAY'}>}[Servicing Agency])
-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com
799 Views
