Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
dszakris
Contributor II
Contributor II

How is "Ignore" a single in set filters in Calculated Field?

Hello All,

I'm new to QLikSense.

I am trying to keep a KPI with a calculated field with a figure in it. I need my filters to exclude "Rejected" order, but I need the KPI to show a sum of rejected orders.

I have multiple filters (month, department, etc) and if these change the KPI needs to change, but I need the KPI to ignore order status no matter.

 

My calculated field is:

=Count(if (match(ORDER_STATUS, 'Rejected'), 'Rejected'))

 

Order Status has other possible values of: Cancelled, Accepted, Awaiting Dispatch, Sent

1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @dszakris ,

From my understanding i will suggest to modify the expression as below

Count({<ORDER_STATUS=>}
if (match(ORDER_STATUS, 'Rejected'), 'Rejected'))

 

{<ORDER_STATUS=>} this will ignore the order status filter. it will show always Rejected count though you have selected the Accepted.

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @dszakris ,

From my understanding i will suggest to modify the expression as below

Count({<ORDER_STATUS=>}
if (match(ORDER_STATUS, 'Rejected'), 'Rejected'))

 

{<ORDER_STATUS=>} this will ignore the order status filter. it will show always Rejected count though you have selected the Accepted.

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
dszakris
Contributor II
Contributor II
Author

Thank you very much, that worked perfectly.