Forum Discussion
wolfjnh
7 years agoFrequent Visitor
Filtering two dates in one table
Hi, I have a table, where every row is representing a commitment. This table has following columns (simplified) * shipping_date * value * description * load_date (<- this leads to the fact, ...
v-cherch-msft
7 years agoMicrosoft Employee
Hi wolfjnh
You may disconnect the relationship and use below measure:
Measure (yours) =
VAR min_date =
MIN ( 'Date'[Date] )
RETURN
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER ( 'Table', 'Table'[load_date] = min_date )
)
Regards,
wolfjnh
7 years agoFrequent Visitor
Hi v-cherch-msft ,
thank you for your solution. To be honest, it is not the solution I need, but it is probably the nearest, we can get.
I will think about the data schema again and maybe I can avoid this problem.
Thank you for your time!