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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to include Zero value on an AVG() Function?

Ive got this on a Pivot table as Expression :

Avg(Aggr(Sum( costo_maximo),Semana,MP))

But the Avg only shows the result of the columns with a value.

Any suggestion?

Thanks!

6 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Instead of that expression try this

=Sum(Aggr(Sum( costo_maximo),Semana,MP)) / Sum(Aggr(1, Semana,MP))

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

This one doesnt work, shows me the same rasult always, look i let you what i wantin an excel, hope this helps.

swuehl
MVP
MVP

Try deselecting option 'Suppress zero values' on presentation tab.

Not applicable
Author

This one was always deselected

swuehl
MVP
MVP

Then I think you need to post a sample file that demonstrate your issue.

I can't reproduce it with the option deselected.

Not applicable
Author

Thanks for everything, with your idea of the suprees i just get noticed, those ones are no "0",otherwise thery are missing values!