Forum Discussion
Filtering two dates in one table
Hi wolfjnh
It's hard to provide the accurate solution without looking at sample data.Please check the attached sample file for reference and show me your simplified sample data to reproduce your scenario.
Regards,
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-msft7 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!