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

I want to create a table chart based on criteria

I want to create a straight table where the information shows only OPEN and CUST (waiting on customer) case information.  In other words, I don't want to click OPEN and CUST (2 of many statuses) in my Status list box to filter the straight table.  How can I do this?

1 Solution

Accepted Solutions
alexdataiq
Partner - Creator III
Partner - Creator III

Are you using a table box?

You could create a straight table and put the expression with the Set Analysis and then hide the column, Even if you're not trying to sum anything, It could be a bogus expression over a field (maybe a Count?) just so that a calculation is made and the values get displayed in the table.

View solution in original post

8 Replies
alexdataiq
Partner - Creator III
Partner - Creator III

Maybe you could try using Set Analysis, tweaking your expressions, something like:

Sum({$ <Status={'OPEN', 'CUST'}>} Field)

Regards

sunny_talwar

Or this:

Sum({$ <Status *={'OPEN', 'CUST'}>} Field)

In case you would like to filter out OPEN or CUST based on the selection. This seems unlikely in your case, but I just wanted to introduce another option.

Best,

Sunny

Not applicable
Author

thanks, but I am not trying to sum any expressions, just display data that is pre-filtered to showing me only those cases that are open or waiting on the customer.

should this be a condition within the dimension?

alexdataiq
Partner - Creator III
Partner - Creator III

Are you using a table box?

You could create a straight table and put the expression with the Set Analysis and then hide the column, Even if you're not trying to sum anything, It could be a bogus expression over a field (maybe a Count?) just so that a calculation is made and the values get displayed in the table.

Not applicable
Author

That makes sense...I will give it a shot and let you know

chrismarlow
Specialist II
Specialist II

Hello. I think the suggested solutions are fine, however there is another one that allows you to keep using table, i.e. not use a chart.

It is a little contrived - it involves adding another field in script, say 'Status_Check' and setting to Null() for your other statues. You can then use 'Omit Rows Where Field is NULL' on the Presentation tab of the Table box properties which has the effect of filtering.

I've attached a QVW that shows this in the lower table.

Not applicable
Author

Worked perfectly...thanks!

Not applicable
Author

This looks interesting.  My issue was resolved by another suggestion, but I will give this a try.

thanks!