Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
piotr-bratek
Creator
Creator

Conditions vs Filters - different results based on using a condition in REPORTS or CONDITIONS tab in a PUBLISH TASK

Hi,

I'm using a classic sales app:

* total Sales: 3,39M
* Sales in 2018: 438k

I've created:

* a condition based on a variable v_sales = sum(Sales).
* a filter: Year=2018 (it is applied on a Report level)

What is see is a difference based on where the condition is applied in a PUBLISH TASK,

* If I add the condition in the 2nd tab: Reports - it works fine (condition NOT met, I don't get the report)
* When I add the same condition in the last tab: Conditions - it does NOT work (even though the condition is NOT met, I get the report).
* finally, when I increase the condition value to 4M (exceeding total sales) it is considered as FALSE so it looks like if  I assign it in the last tab, it ignores my FILTER - is that how it should work ?

npr_cond_filter_weg.jpgnpr_weg.jpgnpr3.jpg

Qlik NPrinting 

The most experienced Qlik Trainer in Central Europe
Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

Yes-it works as designed. 
Task conditions will only consider task filters where reports conditions will respect intersection of task & user & report filters. 

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

1 Reply
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

Yes-it works as designed. 
Task conditions will only consider task filters where reports conditions will respect intersection of task & user & report filters. 

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.