Forum Discussion

slyfox's avatar
slyfox
Helper II
8 years ago
Solved

First and Last date

Dear Community,

 

please help to figure out why my expression not working as expected
Sum of Product = CALCULATE(SUM(Table[Product]),Date=OR(FIRSTDATE(Table[Date]),LASTDATE(Table[Date]))

formula keep to return all sum values in a selected date range.

 

Source  
   
DateProductQty
01-02-18A2
01-02-18B5
01-02-18B6
03-02-18A7
03-02-18A9
03-02-18B2
06-02-18A6
06-02-18A7
06-02-18B9

 

And Expected result

 AB
01-02-18211
06-02-18139

1 Reply