
Contributor III
2020-10-26
07:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AGGR Sum Function does not display for each Row
Hello Qlik!
I am trying to create an AGGR Summary table of the total representatives located by region by their department where they represent greater than or equal to 50% of the entire organization department.
For Example EU has 30 reps for distribution out of 37 total for the 'Deptlvl4' column.
Deptlvl2 | Deptlvl4 | Region | Reps | Grand Total | T/F |
Build | Distribution | AP | 2 | 37 | False |
Build | Distribution | EU | 30 | 37 | True |
Build | Distribution | NA | 5 | 37 | False |
However I am unable to get Qlik to display/process the data correctly. It will display 'Nulls' for 2 of the 3 rows.
Qlikview Table (see attached for example)
Deptlvl2 | Deptlvl4 | Region | Reps | Grant Total | T/F |
Build | Distribution | AP | 2 | 37 | FALSE |
Build | Distribution | EU | 30 | - | FALSE |
Build | Distribution | NA | 5 | - | FALSE |
1,194 Views
1 Solution
Accepted Solutions

Master II
2020-10-26
09:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
add a nodistinct to the aggr:
Aggr(nodistinct Sum({1<
Deptlvl4 = {"*"}
>}
[Total Reps])
,
Deptlvl4)
2 Replies

Master II
2020-10-26
09:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
add a nodistinct to the aggr:
Aggr(nodistinct Sum({1<
Deptlvl4 = {"*"}
>}
[Total Reps])
,
Deptlvl4)

Contributor III
2020-10-27
08:13 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Edwin!
1,156 Views
