Forum Discussion

ModernAchilles's avatar
7 years ago

Total Measure return using in another measure calculation

Hi,

 

I can't figure out the formula for getting the input of a calculation that gets the average. To then use in another calculation to project forward. Here is the original calculation and return answer. 

 

Average Per Plant, Total = iferror(  [Weight]  /  [ Plant Harvested ]  ) ,  0  )

 

 

 

 

I want the "96" Calculated number to use in a forecasting projection forward for all the rows. How do I do this?

 

 

Ultimately, I am looking to get to the specific average yield per plant to project forward. Or the average of all the plants as a plug number. I was thinking about this formula, but the "Plug" or "96" measure I am stuck on.

 

Here is what I am thinking:

 

Next Month's Harevest Projection = (  IFERROR  (  
                                                   if (  [Current Harvesting] - [Harvested] ) <1,
                                             ( ( [ Current Harvesting ]  -  [ Harvested ] )  *  [ Per Plant Harvested ] ) ,
                                            ( ( [ Current Harvesting ] - [ Harvested ] ) * [ "Plug" or "96" measure]  ) )  


,0 )
)

 

Thank you so much!