Forum Discussion
ivancans
8 years agoFrequent Visitor
MAX date for an ID with repeating dates
Hello, I would like to get your help in the following matter. I have ID's with multiple dates. I need to return latest date for each of the ID's and compare the result with the specific row. If t...
- 8 years ago
Sorry I was out of office
In Query Editor, you can use Group By Function to get the Max Dates for each ID
Zubair_Muhammad
Community Champion
8 years ago
You could also use DAX calculated column
Max Date =
CALCULATE (
MAX ( Table1[Date Hour and Minutes] ),
ALLEXCEPT ( Table1, Table1[Application ID] )
)- ivancans8 years agoFrequent Visitor
Thanks Zubair_Muhammad but I thought that it is better to do it in query mode because it is somehow less hardware demanding procedure. Am I wrong on this one?
- ivancans8 years agoFrequent Visitor
Also, how can I filter out ture ones in data view so that the table becomes uniqe in relationship view. I did filter out the value but I still couldn't create relationship. See screens attached.
- Zubair_Muhammad8 years ago
Community Champion
Sorry I was out of office
In Query Editor, you can use Group By Function to get the Max Dates for each ID