Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exclude specific value from dimension

Dear QLIK Community,

I have a dimension, that emits costs of time. As the original source isn't that properly designed, there are some values, that shouldn't be included. When they are included, by evaluation looks like this.

Milliarden.JPG

It should f.e. look like this.

2017.JPG

The above seen value (3.543.799.680€) appears just once, so what I want to do is exclued all values, that are higher than 10.000.000€.

My idea was to design the dimension like this.

Script.JPG

As it can be seen, the false value is exluded, but the dimension isn't summed up anymore at the top. How can I design my dimension, so that the value is excluded but it furhtermore sums up the rest values?

Thanks for the replies.

Best regards,

Tom

1 Solution

Accepted Solutions
devarasu07
Master II
Master II

Hi,

try below method,

Method 1:

try to create calculated dimension like below,

if ( sum(measure) < 10000000, dimension)

after that try to un-check that "Suppress Null Value" option in this Calculated dimension

Method 2: using set analysis //best approach

sum( {$<measure = {">10000000"}>}measure)


P.S: update your field instead of measure , dimension


Thanks,

Deva

View solution in original post

4 Replies
devarasu07
Master II
Master II

Hi,

try below method,

Method 1:

try to create calculated dimension like below,

if ( sum(measure) < 10000000, dimension)

after that try to un-check that "Suppress Null Value" option in this Calculated dimension

Method 2: using set analysis //best approach

sum( {$<measure = {">10000000"}>}measure)


P.S: update your field instead of measure , dimension


Thanks,

Deva

Ralf_Heukäufer
Partner - Creator III
Partner - Creator III

Hallo Tom,

probier mal:

sum(if(Zeitkosten<10000000,Zeitkosten))

Anonymous
Not applicable
Author

Perfekt, macht was es soll. Danke dir!

Anonymous
Not applicable
Author

Method 1 worked great for me, thank you.