Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

only show zero values in the expression

Hi Qlikview community

I have one issue I wanted to solve

Here below I have the database I have.

In this database I see the cost (total sum) for ever Job Ref.

I want to monitor this cost for every job ref.

But I have only interest in the job ref which has zero.

So in my table in qlikview how can let my chart only show Total sum that has value zero and nothing else

Shipping terms pointJob RefQuantityTotal Sum
CNTAOAAR155296491056,76
DECUXAAR15529730
DECUXAAR15529940
DKAARAAR15530010
DKAARAAR15530130
DKAARAAR15530250
DKAARAAR155303130
GBBRFAAR1553041116748,26
GBIMMAAR15530669461,66
GBIMMAAR155307145839,55
GBIMMAAR1553082344672,46
GBIMMAAR1553091968742,14

regards Darri Hilmarsson

1 Solution

Accepted Solutions
Not applicable
Author

Here darril try this:

=if([Total Sum]=0, [Job Ref])

View solution in original post

7 Replies
m_woolf
Master II
Master II

Try:

=if(aggr(sum([Total Sum]),[Job Ref])=0,[Job Ref])

as a calculated dimension for [Job Ref]

Not applicable
Author

try something like this:

sum({$<[Total Sum]={'0'}>} [Total Sum])

Anonymous
Not applicable
Author

Hi, guys

I tried both solutions but it did not work actually like I want

In the chart below in QlikView I want see the bold lines and the other don't show

The picture below shows the result with the formulas you gave me.

The line are still there but I want them to disappear

Job Ref

QuantityShipping terms point=sum([Total Sum])
1.160.277
AAR1553001DKAAR0
AAR1553221NLRTM0
AAR1553231NLRTM0
AAR1553251NLRTM0
AAR1552973DECUX0
AAR1553013DKAAR0
AAR1552994DECUX0
AAR1553025DKAAR0
AAR1553125GBIMM0
AAR1553245NLRTM0
AAR1553138GBIMM0
AAR15530313DKAAR0
AAR1553066GBIMM9.462
AAR15530823GBIMM44.672
AAR1553071GBIMM45.840
AAR1553152KRPUS46.101
AAR15530919GBIMM68.742
AAR1553181NGONN78.489
AAR1553191NGONN78.942
AAR15531023GBIMM90.660
AAR1552964CNTAO91.057
AAR1553201NLRTM92.119
AAR1553141KEMBA94.442

AAR155304

1GBBRF116.748
AAR1553161KRPUS136.558
AAR1553172NGAPP

166.445

QuantityShipping terms point=if(aggr(sum([Total Sum]),[Job Ref])=0,[Job Ref])=sum([Total Sum])
1.160.277
3DECUXAAR1552970
4DECUXAAR1552990
1DKAARAAR1553000
3DKAARAAR1553010
5DKAARAAR1553020
13DKAARAAR1553030
5GBIMMAAR1553120
8GBIMMAAR1553130
1NLRTMAAR1553220
1NLRTMAAR1553230
5NLRTMAAR1553240
1NLRTMAAR1553250
1GBBRF-116.748
1GBIMM-45.840
1KEMBA-94.442
1KRPUS-136.558
1NGONN-157.431
1NLRTM-92.119
2KRPUS-46.101
2NGAPP-166.445
4CNTAO-91.057
6GBIMM-9.462
19GBIMM-68.742
23GBIMM-135.333
Not applicable
Author

Darril, can you attach the .qvw file?

Anonymous
Not applicable
Author

here it comes with you expression and not

tabletuner
Creator III
Creator III

Alfredos formula should do the job for you, however you still have got to remove the original =sum([Total Sum]) formulas. That formula will reactivatie the non zero Job Refs again.

Not applicable
Author

Here darril try this:

=if([Total Sum]=0, [Job Ref])