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: 
harjedalskok
Creator
Creator

Show expression result even if null?

Hi,

i wonder if we can "trick" QV to show a zero value even if the expression doesent return any values for a certain selection.

example, if i would make the selection of Month Selection of Januari:

SalesMan Ludwig Pettersson would Not appear, since he has no sales in Januari.

        

SäljareSäljare_KortnamnÅrJanuariFebruariMarsAprilMaj
66 431 888kr10 696 026kr13 934 628kr17 190 098kr17 279 568kr7 331 568kr
Staffan LundellSTLU2 994 070kr343 648kr810 576kr724 049kr1 007 348kr108 449kr
Stefan LehnbergSTLE2 674 122kr320 281kr593 376kr518 382kr887 290kr354 793kr
Andreas LöfkvistANLO2 663 713kr507 721kr725 624kr356 542kr825 711kr248 115kr
Peter CarlzonPECA3 580 418kr757 438kr671 960kr1 026 490kr679 310kr445 220kr
Linus JonassonLIJO3 079 908kr673 560kr551 400kr630 081kr608 867kr616 000kr
Ludwig PetterssonLUPE1 616 414kr0kr0kr731 166kr544 124kr341 124kr
Lena ÅhströmLEAH1 238 070kr215 615kr309 135kr110 440kr531 510kr

71 370kr

The results after selection of Januari. I would like to see Ludwig here but with a zero value on Januari sales.

    

SäljareSäljare_KortnamnÅrJanuari
2 602 648kr2 602 648kr
Peter CarlzonPECA757 438kr757 438kr
Linus JonassonLIJO673 560kr673 560kr
Andreas LöfkvistANLO507 721kr507 721kr
Staffan LundellSTLU343 648kr343 648kr
Stefan LehnbergSTLE320 281kr320 281kr

Thx in advance for the help.


/André

6 Replies
sunny_talwar

Have you tried unchecking 'Suppress Zero-Values' on the presentation tab?

priyarane
Specialist
Specialist

Uncheck Suppress zero values in Presentation tab

trdandamudi
Master II
Master II

I am hoping that you are using Pivot table... So give a try on the below:

In your chart properties, Go to "Presentation" tab and uncheck "Suppress Zero-Values" and this should give you the results.

I am attaching a sample here and hope this helps...

ankit777
Specialist
Specialist

Hi

There can be a work around. First you need to create a table with customer name and months. This table should have all possible combinations of months and customer name. Now you can join your sales data. Post this , if any sales man has no sales in a particular month, then you will have a null there and you can show that on chart.

Hope that helps

harjedalskok
Creator
Creator
Author

Hi I attach the document, then you could try, cuz the supress zero values doesent seems to do the trick.

could you have a look?

Thx

sunny_talwar

What exactly are we working with??