Forum Discussion
Anonymous
2 years agoNot applicable
4Q Rolling Average (Cumulative Average) Include 0 value
Dear Team - I am trying to calculate each four Quarter Rolling Average which include 0 value as my formulas does not works well. Its excluding zero value and calculate measure. But i need to inc...
danextian
2 years agoSuper User
Hi Anonymous ,
Your measure works fine on my end. Are those zeroes actually zeroes or they're blank because your fact table doesn't have data in those quarters/those quarters do not exist in your fact table?
Anonymous
2 years agoNot applicable
My fact table doesn't have data in those quarters so i assign as AOP = Blank then 0 else value
IF([AOP$]=BLANK(),0,[AOP$]) I think average 4 Quarter doesn't work where we have a zero value/Blank
formula perfectly will work all quarters have value incase blank / zero value doesn't work please suggest how to overcome this issue
- Anonymous2 years agoNot applicable
Hi Anonymous ,
Please do this in the power query, as the measure is not an actual column of data and is only calculated when used.
Hope it helps!
Best regards,
Community Support Team_ Scott ChangIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous2 years agoNot applicable
Hi Scott - I tried power Query first to fix this as different came out then we developed in Measure to get a solution.