Quantcast
Channel: COGNOiSe.com - The IBM Cognos Community
Viewing all articles
Browse latest Browse all 13011

Re: Calculating average without zero

$
0
0
really the only thing that should change is your denominator; the numerator will stay the same if zeroes are added in.

So it should be
[code]
total(case when [date] in_range ?Date1? then [measure] else 0 end)
/
total(case when ([date] in_range ?Date1?)...

Viewing all articles
Browse latest Browse all 13011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>