Forum Discussion
Agustina
5 years agoFrequent Visitor
Conditional column from Many to One
Hello colleagues, I have these 2 tables: 2021 Cases - unique records (clients) 2021 Online Q - each client has multiple rows, one per topic, with a status (responsecasestatus) and a date. ...
- 5 years ago
Hey Agustina ,
try the following measure:
LastDate = IF( CALCULATE( COUNTROWS( '2021 Online Q' ), '2021 Online Q'[ResponseCaseStatus] = "Waiting for Corrections" ) > 0, BLANK(), CALCULATE( MAX( '2021 Online Q'[LastModified] ) ) )If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.bi
Agustina
5 years agoFrequent Visitor
Hi selimovd I've just updated the original post with more information to explain it better 🙂 thank you!
selimovd
5 years agoMost Valuable Professional
Hey Agustina ,
try the following measure:
LastDate =
IF(
CALCULATE(
COUNTROWS( '2021 Online Q' ),
'2021 Online Q'[ResponseCaseStatus] = "Waiting for Corrections"
) > 0,
BLANK(),
CALCULATE( MAX( '2021 Online Q'[LastModified] ) )
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi