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: 
Not applicable

Pivot table missing values

Hi,

When I do a count(fieldname) and I get missing values "-" in my pivot table. How do I replace those with 0s.

I provided a screenshot with the missing values which I would like to replace as 0s.

Thank you

6 Replies
rittermd
Master
Master

I have not been able to figure out a way to do that.  I think we are stuck with the '-'.  I have posted the same question previously with no work around.

Not applicable
Author

That's a bummer, I hope someone has some insight on this.

marcohadiyanto
Partner - Specialist
Partner - Specialist

Hi Ismael,

You can try this expression..

if(count(fieldname)=null(),0,count(fieldname))


Regards,

Marco

Not applicable
Author

Hi Marco,

Thanks for the reply. I tried that calculation and still it does not work.

Not applicable
Author

Hi Ismael,


It will work this way,


If (Sum(Sales) =0, ' ', Sum(Sales)) in the Pivot expression.


~ Ravi Kancharla


Not applicable
Author

Hi Kancharla,

Thanks for replying . I tried that calculation and that didn't work as well .

Ismael