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

Calculate the last 3 months sales in straight table

Calculate the last 3 months sales in straight table.

Fields:

Month, Sales

2 Replies
Anil_Babu_Samineni

You can use this as measure?

Sum({<Month={">=$(=AddMonths(Max(Month),-3))<=$(=Max(Month))"}>} Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vishalarote
Partner - Creator II
Partner - Creator II

Try this,

Sum({<Month={">=$(=Monthstart(Max(Month),-3))<=$(=Max(Month))"}>} Sales)