Forum Discussion
novicenovice
Helper I
8 years agoFind date with several filters
Dear All, Hope you can help me : we are the 29/11 and we need to find if there is a new delivery date for the previous extraction items EXTRACTION DATE ORDER ITEM ORDER DT_DELIVERY...
- Anonymous8 years ago
novicenovice,
You can get expected result by creating a simple measure.
Measure = MAX(T_DATA_OPEN[DT_DELIVERY])
If you need to create a calculted column, use DAX below.
Column = VAR ORDERid = T_DATA_OPEN[ORDER] VAR ITEMID=T_DATA_OPEN[ITEM ORDER] RETURN CALCULATE(MAX(T_DATA_OPEN[DT_DELIVERY]),FILTER(T_DATA_OPEN,T_DATA_OPEN[ORDER]=ORDERid && T_DATA_OPEN[ITEM ORDER]= ITEMID))
Regards,
Lydia
parry2k
Super User
8 years agoI guess you are looking most recent delivery date for an order, correct?
novicenovice
Helper I
8 years agoYes, on orders and the item order