Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

show only specific dimension values

Hi All,

In a straight table, i have below dimension and expression. I dont want to show all the salesperson by their sales in the table. But only specific salespersons out of 100s.

Dimension--> salesperson

Expression-->sum(sales)

So, how can i show only specific dimension values in the straight table with its corresponding expression result.

Regards,

Suraj

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use an expression like this: sum({<salesperson={'Tom','Dick','Harry'}>}sales). The result is that the sum of sales is only shown for the salespersons Tom, Dick and Harry.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use an expression like this: sum({<salesperson={'Tom','Dick','Harry'}>}sales). The result is that the sum of sales is only shown for the salespersons Tom, Dick and Harry.


talk is cheap, supply exceeds demand
Not applicable

What kind of specific values would you like to show?

Not applicable

Use a Calculated Dimension instead of salesperson dimension.

ex.

if(salesperson<>'XXX',salesperson)

and check suppress when value is null.

timmarsh
Contributor III
Contributor III

This worked perfectly for me, thanks.