Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Nemo1
Creator II
Creator II

I do not want to show an specific category in my graph

Hello everyone, 

I want to build a Bar Chart. 

I have many different categories, but I want to exclude one.

I go to measures, and I write the following formula: Sum({<Sales-={'XCategory'}>} Sales)

 

However, this keeps showing me the XCategory... what am i doing wrong?

 

thanks in DVANCE

3 Replies
Brian_C
Contributor III
Contributor III

Hi

You need to use the column name for the categories in the set analysis. Try the measure below but repla ce category with the name of your column.

Sum({<Category-={'XCategory'}>} Sales)

Kindest regards

Brian

F_B
Creator III
Creator III

Hi @Nemo1 ,

in your set analysis expression you should replace Sales, here highlighted in bold,

Sum({<Sales-={'XCategory'}>} Sales)

with the field where 'XCategory' belongs.

 

Hope it's helpful, have a nice day.

F_B
Creator III
Creator III

I've just seen that @Brian_C already gave the same answer.