Forum Discussion
SUM Based on FIELD Date Range
- 4 years ago
Hi,
Create a Calendar Table with a replationship from the Date column of the 2 tables to the date column of the Calendar Table. Create Year, Month Name and Month number columns in the Calendar Table. Sort the Month name column by the Month number column. To your visual, drag Year and Month name columns from the Calendar Table. Write this measure:
Total revenue = sum(Data[Revenue])
Hope this helps.
Please can you try explain the problem a little better, I don't understand it. Thanks.
Try show your reequired equation step by step and ensure the fields in the equation correspond exactly to the screen print.
Sorry maybe this is a better explanation of what i want to do.
The Quoted Revenue value for September 2021 is SUM(REVENUE) where QUOTED between to_date('2021-09-01', 'YYYY-MM-DD') and to_date('2021-09-30', 'YYYY-MM-DD')