Forum Discussion

EaglesTony's avatar
EaglesTony
Icon for Post Prodigy rankPost Prodigy
1 year ago
Solved

How 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...
  • MNedix's avatar
    MNedix
    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"))