Forum Discussion
Summarize dates without blanks
Hi all,
I need help with the following dax. I am creating a table that summerizes the latest dates by id. This works well however I have blank dates. How can I get the latest dates where the id has no blank dates against it?
Anonymous hi
I have written simple dax similar to your dax except i have applied filter which remove blank dates rows.
It have worked for me.
table2 = SUMMARIZE(FILTER(Table1,Table1[DATE] <> BLANK()),Table1[ID],"MAX DATE",MAX(Table1[DATE]))
Regards,
Novil
If I answer you question, please mark my post as solution.
7 Replies
- vivran22Community ChampionHi,
Is it possible for you to share some sample table and the desired output?
Rgds,
Vivek- AnonymousNot applicable
Id LastEntryDate 11 23/05/2019 0:00 12 23/05/2019 0:00 13 23/05/2019 0:00 24 24/05/2019 0:00 25 24/05/2019 0:00 26 49 50 51 31/05/2019 0:00 52 8/06/2019 0:00 55 11/06/2019 0:00 - novilpawarAdvocate I
Anonymous hi
I have written simple dax similar to your dax except i have applied filter which remove blank dates rows.
It have worked for me.
table2 = SUMMARIZE(FILTER(Table1,Table1[DATE] <> BLANK()),Table1[ID],"MAX DATE",MAX(Table1[DATE]))
Regards,
Novil
If I answer you question, please mark my post as solution.
- AnonymousNot applicable