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: 
ToddE
Contributor II
Contributor II

Only Show Values that Meet Multiple Conditions from 2 Fields

Happy Friday

I have a table and I only want it to display a small subset of the masses of data that's available.

The value appears in a field named [Product], but I only want the table to display products that contain the term "professional".  I also want the table to only contain products that are "Active", which is captured in a field named [Status].

I've experimented with the Aggr function, but cannot get the correct results.

Thank you for any help!

Labels (2)
1 Solution

Accepted Solutions
rubenmarin
MVP
MVP

HI, you can add a measure with set analysis to filter data, like:

Sum({<Product={"*professional*"},Status={'Active'}>} Sales)

View solution in original post

3 Replies
rubenmarin
MVP
MVP

HI, you can add a measure with set analysis to filter data, like:

Sum({<Product={"*professional*"},Status={'Active'}>} Sales)

vinieme12
Champion III
Champion III

Refer these articles

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344#:~:text=Set%20a....

 

https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
sidhiq91
Specialist II
Specialist II

You can resolve the issue in couple of ways:

1. In load editor you can apply the filter in the where condition,

Where wildmatch(Product,'*Professional*') and Status='Active'

2. You can use a Set Analysis, For Example:

Sum({<Product={"*Professional*"}, Status={'Active'}>}LineSalesAmount)