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: 
Not applicable

Set Analysis Condtional

I have the following formula:

=Avg({1<TubeType=P(TubeType)>}[Total Usage]) I need to add another condition that includes only data where Flag=0, does anyone have an ideas?

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

The following is the solution that acutally worked, thanks for the idea though it helped me solved the issue!

=Avg({1<TubeType=P(TubeType),Flag={'0'}>}[Total Usage])

View solution in original post

2 Replies
Not applicable
Author

Hi Zeth, I think that a solution may be:

=Avg( {< TubeType={"TubeType"} , Flag={"0"} >} [Total Usage])


I hope that it help you


Regards


Agustín

Not applicable
Author

The following is the solution that acutally worked, thanks for the idea though it helped me solved the issue!

=Avg({1<TubeType=P(TubeType),Flag={'0'}>}[Total Usage])