Forum Discussion

sroy's avatar
sroy
New Member
8 years ago
Solved

backfill data by group - dax question

In powerpivot, I have a table have a flag by group only when the status is complete. There is only one flag per group currently. I want to back fill the flag for the whole group for each status. Belo...
  • Zubair_Muhammad's avatar
    8 years ago

    HI sroy

     

    Try adding this calculated column

     

    New Column =
    CALCULATE (
        FIRSTNONBLANK ( Table1[Flag], 1 ),
        FILTER ( ALLEXCEPT ( Table1, Table1[Group] ), Table1[Status] = "Complete" )
    )