Forum Discussion

Yoshimitsu411's avatar
Yoshimitsu411
Icon for Resolver I rankResolver I
6 years ago
Solved

Calculate YTD using Short Month Name

Hello

 

I need to calculate the YTD value excluding the current month. I have the following information in a data table with a Month column. I added the Month_Number column using Switch. I now need to Divide the Sum of the EAC column by the Sum of the Revenue EAC column for the last one month given that we are in Feb. If we were in June, the sum would be all the past months excluding June. How do I do this?

 

 

Thank you for any suggestions.

 

Yoshi

13 Replies