Forum Discussion
EaglesTony
Post Prodigy
1 year agoHow can I get a column duplicated based on a key
Hi, I have this table: Key Status Date 1 Review null 1 In Progress 8/1/2024 1 Done null What I need...
- 1 year ago
I "brute-forced" it a bit, I hope it will work for you.
IF( ISBLANK( CALCULATE( SELECTEDVALUE (Table1[Date]), ALLEXCEPT(Table1,Table1[Key]),Table1[Status]="InProgress")),BLANK(), CALCULATE( SELECTEDVALUE (Table1[Date]), ALLEXCEPT(Table1,Table1[Key]),NOT (ISBLANK(Table1[Date])),Table1[Status]="InProgress"))
EaglesTony
Post Prodigy
1 year agoNo, because "
This should cover multiple scenarios where the date could be present in any of the 3 statuses." isn't what I want, just the "In Progress" status to be taken into account, if there is not "In Progress" (based on the Key), then it would be blank.
MNedix
Solution Sage
1 year agoI "brute-forced" it a bit, I hope it will work for you.
IF(
ISBLANK(
CALCULATE(
SELECTEDVALUE (Table1[Date]),
ALLEXCEPT(Table1,Table1[Key]),Table1[Status]="InProgress")),BLANK(),
CALCULATE(
SELECTEDVALUE (Table1[Date]),
ALLEXCEPT(Table1,Table1[Key]),NOT (ISBLANK(Table1[Date])),Table1[Status]="InProgress"))- EaglesTony1 year ago
Post Prodigy
Thanks this worked!