Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar Chart Year and Month, showing months with no data

HI

Wondering if anyone can help feel like im banging my head against a wall !

I have this bar chart which is currently stacked to show tasktype, it also has two other dimensions year and month.

I have the problem in that it is showing me months which have no data,

I have tried cliking suppress 0 values on the dimension and the presentation tab to no avail ! can anyone help ?

I cant use drill downs for this graph as they want it showing on an nprinting slide.

Thanks

Sarah

11 Replies
t_chetirbok
Creator III
Creator III

hi!

can you share your qvw or some sample?

Not applicable
Author

Hi Tatsiana,

The data is sensitive so I tricky I've extracted some details on the graph :

MK_QSL
MVP
MVP

Better to provide sample application

Not applicable
Author

Is there a way to scramble or encrypt the data sorry never done this before ?

miguelbraga
Partner - Specialist III
Partner - Specialist III

Hey Sara,

Did you tried using a WHERE clause like this:

YourTable:

LOAD *

FROM [pathtoyourdatabase]

WHERE Value <> 0;

This method should eliminate the 0 values

Regards,

MB

MK_QSL
MVP
MVP

Create dummy data and provide sample application.

Not applicable
Author

Hi Miguel

I cant do it unfortunately as other columns with data we need to include for those rows if that makes sense

t_chetirbok
Creator III
Creator III

try this expression

count(distinct if(tsk_id<>'',tsk_id))

miguelbraga
Partner - Specialist III
Partner - Specialist III

Maybe if you do something like this:

=if(tsk_id == '', NULL(), count(distinct tsk_id))

Then check "Surpress Vhen Values In Null".