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: 
lblackley
Contributor
Contributor

How do I process an OR logic Operation

Hello,

I'm really new to Qlik Sense and I am working on populating results in a dashboard.

I currently have:

sum(if([Customer Business Unit] = 'Global Supply Chain',1,0))

as a formula for a KPI box. but I also need to include 3 different values in the count from another source.

I need in the [Support Group] field, to include the values of iTAC & ProM.

This needs to be either or, not an AND operation.

Any assistance would be HUGE!

1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Maybe like

=sum(if([Customer Business Unit] = 'Global Supply Chain' or Match([Support Group],'iTAC','ProM'),1,0))

View solution in original post

3 Replies
OmarBenSalem
Partner - Champion II
Partner - Champion II

The or logic would be as follow:

sum({ <[Support Group] ={'iTAC '}> + <[Support Group] ={'ProM'}> }expression)

swuehl
Champion III
Champion III

Maybe like

=sum(if([Customer Business Unit] = 'Global Supply Chain' or Match([Support Group],'iTAC','ProM'),1,0))

lblackley
Contributor
Contributor
Author

Hey Stefan,

That worked like a charm! Thank you so much!!!!