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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

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  )

 

 

Per Plant.PNG

 

 

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!

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @ModernAchilles ,

 

Please share some sample data so that we can test and coding formula on it.

How to Get Your Question Answered Quickly

 

In addition, you can also take a look at following blog about measure calculate on total level:

Measure Totals, The Final Word

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.