Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Nemo1
Creator II
Creator II

Leave dimension out of a table.

Hello everyone,

So I have a table, and lets say i want to display all kind of vehicles and their characteristics but vans. 

How can i leave vans out? 

I tried this formula, but it does not work, yeah it leaves vans out of the vehicle columns, but it is still showing me its sales and costs in the sales and costs column. I dont want that. I need it completely out of the analysis.

=If(Vehicle<> 'Vans', Vehicle)

 

thanks

3 Replies
marcus_sommer

The most simple way would be the user selects directly which dimension-values should be included respectively excluded - and not to design specialized objects with any hard-filtering.

Beside including any condition in the dimensions you may include it within the expression with something like: sum({< Vehicle -= {'Vans'}>} Value)

 

BrunPierre
Partner - Master
Partner - Master

If you're looking to create a dimension, try this

=Aggr(Only({<Vehicle-={'Vans'}>} Vehicle), Vehicle)

Sayed_Mannan
Creator
Creator

you can achieve this with set analysis, try this,

SUM({<Vehicle -= {'Vans'}>}Sales)

or you can also do this by using calculated dimension

IF(NOT MATCH (Vehicle, 'Vans'), Vehicle)

 

If this solve your issue, feel free to mark this as a solution.