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

Expression to calculate past 3 months sale in straight table

Please help me with the expression to calculate past 3 months total sales in straight table.

3 Replies
Miguel_Angel_Baeyens

How your data model looks like? How is the date stored?

Anil_Babu_Samineni

Tough to say without knowing anything, But as assumption you may need

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
zebhashmi
Specialist
Specialist

try

Sum({<DateField={"<=Today()-3"}>}Sales)