Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to show Sales persons base on category wise in a month

Dear Qlik,

I have one data source . In that i want to show Sales persons base on category wise in a month and The straight table shows only one category ,Remaining not shown in table(i,e. For example i want to shows Yellow Category at that time shows only Yellow category Sales persons in a month.) I am attaching source data  and my output is below jpeg model in straight table.

Thanks inadvanced

Regards

suman

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

it's not exactly clear what you look for

if you make a selection of category than the table display only this category data,

if you want it to display only specific category you have two options

=sum(if(Category='Yellow',score))

or

=sum({<Category={"Yellow"}>},score))

View solution in original post

7 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

it's not exactly clear what you look for

if you make a selection of category than the table display only this category data,

if you want it to display only specific category you have two options

=sum(if(Category='Yellow',score))

or

=sum({<Category={"Yellow"}>},score))

Anonymous
Not applicable
Author

HI Liron,

Thanks for reply. I am using your expression it shows Exact values what i want to show but remaining all values are shown in table '0's. I want to remove this '0' values and shows only that category data.

Regards

suman

lironbaram
Partner - Master III
Partner - Master III

in the properties of the table make sure that

display zero values is unchecked

Anonymous
Not applicable
Author

hi liron

one more problem is when iam selecting green,the values shows green,yellow,red values in the straight table.

please give me a suggestion on this.

Anonymous
Not applicable
Author

I am checked that that one and it is ON mode

lironbaram
Partner - Master III
Partner - Master III

hi

do you have more than one expression in your table

can you describe what excatly you need

because it sounds you can just allow the user to select category and then he'll see only the results relevant to the category he selected

Anonymous
Not applicable
Author

Hi Liron,

Your  last expression  was working Perfect.Thanks for giving good suggestion.

Regards

Suman