Forum Discussion
psmith-nhs-inc
9 years agoHelper III
Date math problem: if (ExpectedDate<=date, QTY, 0)
I have a standard Date table, Sales table, and Incoming table. The Sales Table and Incoming Table both have QTY, and a Sales_Date for sales, and an Expected_Date for Incoming. I plot daily sales...
- 9 years ago
Try this slight modification...
Cumulative Incoming = CALCULATE( SUM(Incoming[Incoming Qty]) , FILTER( ALLSELECTED('Incoming'), 'Incoming'[Incoming Date]<=MAX('Dates'[Date]) ) )
Phil_Seamark
9 years agoMicrosoft Employee
Try this slight modification...
Cumulative Incoming = CALCULATE(
SUM(Incoming[Incoming Qty]) ,
FILTER(
ALLSELECTED('Incoming'),
'Incoming'[Incoming Date]<=MAX('Dates'[Date])
)
)psmith-nhs-inc
9 years agoHelper III
That seems to work perfectly. Thank you very much!