I am trying to use windowSum in a calculated field to pull the sum(sales) for the previous valuation_date. When I add this to my table, I see the calculated field = sum(sales) for the same valuation_date, not the one prior.
To pull the sum of sales for the previous date, please use the following corrected formula. This will calculate the sum of sales for the previous date in descending order by OrderDate.
Example: (Syntax may vary - Adjust the field name from your dataset)
Hi @akshai,
Since we haven’t heard back, I’ll close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.