Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Simon4
Creator
Creator

Only show moving average after 4 quarters

Hi all,

 

I have a combination graph with a moving average for the margin. The moving average is calculated as follows:

 

rangesum(above(sum(OrderIntake) - sum(Kostprijs)

,0,4))/
rangesum(above(sum(OrderIntake)

,0,4))

OrderIntake = Revenue 

Kostprijs = costprice

 

A screenshot from the graph:

Simon4_0-1685612763630.png

 

I need the moving average to start after 4 Quarters, because otherwise it will not be a correct average. What are the options to hide the moving average line in the first 3 quarters?

Thankyou in advance

Kind regards,

 

Simon 

 

Labels (1)
1 Reply
srchagas
Creator III
Creator III

Hi, What about something like this?

 

{<Your_DATA_FIELD ={<">=$(First_Q4_You_Want)<= $(Last_Q4_You_Want)">}
rangesum(above(sum(OrderIntake) - sum(Kostprijs)

,0,4))/
rangesum(above(sum(OrderIntake)

,0,4))