Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
andreascansani1
Contributor
Contributor

Master item not influnced by the filter

sum($(mSetTarget)[Qta Ordini Target])

andreascansani1_0-1637234890286.png

how to write this measure that cannot influenced by this filter:

 

  • Commercial_Flow
  • Commercial_Family
  • Patner_OwnerType
Labels (2)
1 Solution

Accepted Solutions
Or
MVP
MVP

Nested variables in set analysis... oof.

You could try adding another set analysis of {<  Commercial_Flow =, Commercial_Family = , Patner_OwnerType = >} which will result in the main aggregation ignoring any selections made on those three fields, but do keep in mind that won't impact the behavior of the existing set analysis or whatever is contained within the MinDate and MaxDate variables.

View solution in original post

4 Replies
Or
MVP
MVP

What's in the variable mSetTarget? That would influence the syntax...

andreascansani1
Contributor
Contributor
Author

andreascansani1_0-1637235473622.png

{1 <Canale=P({$}Canale),Commercial_Cluster=P({$}Commercial_Cluster), TK_DATE={">=$(vMinDate) <=$(vMaxDate)"}>}

Or
MVP
MVP

Nested variables in set analysis... oof.

You could try adding another set analysis of {<  Commercial_Flow =, Commercial_Family = , Patner_OwnerType = >} which will result in the main aggregation ignoring any selections made on those three fields, but do keep in mind that won't impact the behavior of the existing set analysis or whatever is contained within the MinDate and MaxDate variables.

andreascansani1
Contributor
Contributor
Author

you are right because in the Vmaxdate there was an impact in the set analysis, so at the end the expression was:

Date(Floor(max({<Commercial_Flow=,Commercial_Family=,Partner_OwnerType=>}Date)))

but at the end I need to  exclude all section(FILTER) except some value(filter), that are : CHANNEL, CLUSTER

 

do you know how to do it ? in my opinion is the opposite things

Community Browser