Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude a member of a dimension

Hi all,

I have been working in Tableau for over three years and am trying to learn QlikView. So far, I'm having a hard time wrapping my head around the differences, particularly as it pertains to expressions, sets, and filtering.

My question is embarrassingly simple, but I have struggled to answer it.

I have a dimension called 'Buyer'. There are 11 types of buyers, e.g. 'CEO', 'CISO', etc. Among the Buyer types is 'Other'. I want to exclude it from my QlikView app completely. How would I do that? My searching hasn't helped.

Thanks,

Doug

1 Solution

Accepted Solutions
MarcoWedel

Hi,

other front end solutions to exclude this value from e.g. charts would be

- calculated dimensions like

  If(Buyer<>'Other', Buyer)    (checking the "Suppress When Value is Null" dimension option)

- some set expression in your chart's aggregation functions like

  Sum({$<Buyer-={'Other'}>} somefact)

QlikCommunity_Thread_234857_Pic1.JPG

Set expression should be preferred here (only if excluding in the script is no solution for you.)

hope this helps

regards

Marco

View solution in original post

9 Replies
rajpreeths
Creator
Creator

Hi..

Wherever you load your 'BUYER'  dimension write the below where conditions so that others category would not get into your application.

Sample

LOAD

x,

Y,

Buyer,

Z....

From

..something....

WHERE Buyer<>'Others';

Not applicable
Author

Thanks, Rajpreeth. So the time and place to do this is in the load script and not using some sort of expression in the app?

rajpreeths
Creator
Creator

Yes..

You are right.. Field values can be limitted in the script.Please close this thread if information made you clear so that other users can make use of this marked answer..

MarcoWedel

Hi,

other front end solutions to exclude this value from e.g. charts would be

- calculated dimensions like

  If(Buyer<>'Other', Buyer)    (checking the "Suppress When Value is Null" dimension option)

- some set expression in your chart's aggregation functions like

  Sum({$<Buyer-={'Other'}>} somefact)

QlikCommunity_Thread_234857_Pic1.JPG

Set expression should be preferred here (only if excluding in the script is no solution for you.)

hope this helps

regards

Marco

Anonymous
Not applicable
Author

Yes ,you can use expressions to avoid,

Sum({<Dimesion-={'Other'}>]Sakes).

Not applicable
Author

Thanks to all for the help. Much appreciated.

Not applicable
Author

hi marco. why your qvw file, not opening in my personal edition qlikview 12.

is there any restiction on Personal Edition

Anil_Babu_Samineni

Yes, you require license for that. Anyway, have you solve the issue

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

for learning purpose not for commercial purpose, how much it cost ? any clue?