Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

average in set analysis

Hello Everyone

My instruction work correctly for each row but when you select some values in chart, it doesn't calculate correct avrage.

if(IsNull(RecieveMonth) ,Avg('42280'- SendMonth ), Avg(RecieveMonth-SendMonth))

i would much appreciate if any body here could helpme

2 Replies
swuehl
MVP
MVP

That's hard to answer without knowing any details. Could you post a small sample QVW?

You can also try to embed the if() into the aggregation function:

Avg(if(IsNull(RecieveMonth) ,42280, RecieveMonth)) - SendMonth )

Anonymous
Not applicable
Author

Hi,

What does your 'SendMonth' and 'RecieveMonth' contains and which format?