Skip to main content
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

Showing 0 values in bar chart

Hi Experts,

I have expression like following

count(DISTINCT{<ows_Modified={"<=$(=timestamp(Today()))>=$(=timestamp(MonthStart(Today(),-$(vShowInputMonths))))"},id={'VERSION_HISTORY'},SHP_CAISFilter-={''},SHP_Status= {"*Closed*"}>}(aggr(min(ows_Modified),id,ows_ModifiedHistory,SHP_CAISFilter,SHP_Status,[ows_Problem Ticket])))

from above expression I'm unable to show value 0 on bar chart. Can anyone help me to  in this ?

Thanks,

Pooja

13 Replies
Frank_Hartmann
Master II
Master II

what happens if you add a second expression e.g.

avg({1}1/1)

and set this expression to invisible?

pradosh_thakur
Master II
Master II

did you check show all values in the dimension ? You need to enable this .

Learning never stops.
balabhaskarqlik

May be use single quotes in wild search like:

=count(DISTINCT{<ows_Modified={"<=$(=timestamp(Today()))>=$(=timestamp(MonthStart(Today(),-$(vShowInputMonths))))"},

id={'VERSION_HISTORY'},SHP_CAISFilter-={''},SHP_Status= {'*Closed*'}>}(aggr(min(ows_Modified),id,ows_ModifiedHistory,SHP_CAISFilter,SHP_Status,[ows_Problem Ticket])))

kumarravi
Contributor III
Contributor III

HI @Anonymous,

It can be the combination of the following:

kumarravi_0-1651075406912.png

 

  • Show all values in dimension Tab

kumarravi_1-1651075568722.png

  • Uncheck suppress zero value and check zero on bar

 

Happy Learning 🙂 !