Forum Discussion
DAX date issue - earliest date and record
- 1 year ago
Hi Dinesh, I've managed to resolve this issue. I actually ended up reworking the data model a little bit which I meant I could leverage some of the out of the box time intelligence functions a bit more easily.
Thanks
Thanks for the response Greg.
Given that my visual is filtered with a relative date slicer wouldn't MIN('DIM_DATE'[Date]) return the earliest date per the slicer? Rather than the earliest date from the fact table for each specific OfficeID?
Jsummersgill86 Ah, misunderstand that ask. That would be:
First release date = MINX( ALL( 'DIM_DATE' ), [Date] )- Jsummersgill861 year agoNew Member
I think I'm getting even more confused than I was at the start. When I used your proposed
First release date = MINX( ALL( 'DIM_DATE' ), [Date] )
My table visual gets blown out when I add this to it. For those Rev estimates occuring in my slicer date range I have a release date equal to the very first date in my Date table (not the first date for that specific office ID estimate). My visual then also then starts including all other office IDs (even if they haven't had an estimate in the slicer range).