Skip to main content

I am having trouble with the below calculated field. Since the Avg SU per Writer - Depth is an aggregated calculation, I believe I am getting this error. Any help is appreciated to fix this error.

Thank you

 

zn(IF [Week Ending Date]<={FIXED : MAX([Week Ending Date])}

AND [Week Ending Date]>DATEADD('week',-4,{FIXED : MAX([Week Ending Date])})

THEN [Avg SU per Writer - Depth] end)

3 answers
  1. Apr 10, 2020, 3:21 AM

    While the calculated field is now valid with the modified code (including the ATTR and removing the FIXED), the result when I move the field to the Measure values is 0 for all rows (see below attachment).

    However, the result in the view shows values (all weeks not just the 4 weeks that I want) if I just move the Avg SU per Writer - Depth to the measure values. I am unable to load the packaged workbook due to restrictions unfortunately.

     

    While the calculated field is now valid with the modified code (including the ATTR and removing the FIXED), the result when I move the field to the Measure values is 0 for all rows (see below attachme

0/9000