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, ...
wolfjnh
7 years agoFrequent Visitor
Hi v-cherch-msft ,
please find attached the pbix-file with all the measures and informations you will probably need.
The fake measures shows which values I would expect according to the slicer.
I had some issues with the english dateformat and changed it. Hope it works for you.
Is there any possibility for me to upload directly to this page as you did it?
Regards,
Jan
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,
- wolfjnh7 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!