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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

summarising specific values within a data set

Looking for some advice on how to achieve the following.

I have data loaded that contains a number of attributes. 1 being Business Rule Type.

I can get the summary of associated values using the expression below

     Sum ({<[Business Rule Type]={'EBR'}>}[Passing Rows])

What I want to do is extend this further to take into account another criteria/

ie. The summary of Passing rows for (Business Rule Type = EBR and Business Rule Name = Null)

Reasoning is I wish to categorise the TYPES into other areas...

Regards

Robin

1 Solution

Accepted Solutions
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi Robin,

You can use the -={} construct in the set to exclude nulls:

=Sum ({<[Business Rule Type]={'EBR'}, [Business Rule Name]-={}>}[Passing Rows])

Note that the -= may show as a syntax error but it is not.

Regards,

Stephen

View solution in original post

2 Replies
stephencredmond
Partner - Specialist II
Partner - Specialist II

Hi Robin,

You can use the -={} construct in the set to exclude nulls:

=Sum ({<[Business Rule Type]={'EBR'}, [Business Rule Name]-={}>}[Passing Rows])

Note that the -= may show as a syntax error but it is not.

Regards,

Stephen

Not applicable
Author

Thanks Stephen, appreciate the support