Forum Discussion

Smolik1980's avatar
Smolik1980
New Member
4 years ago
Solved

Pls Help Dream Team

I have one table "Action Status" and second "Forecasted Date"  and now I would like to bild the function "IF". If "Action Status" table has option "Completed and Forecasted Date" is "blank" it shou...
  • v-janeyg-msft's avatar
    v-janeyg-msft
    4 years ago

    Hi, Smolik1980 

     

    This is a calculated column:

    CalculatedColumn= if(tbl[Action Status]="Completed"&&tbl[Forecasted Date]=BLANK(),"not correct","correct")

     If you want to create a measure, you need to modify this code.

    Like this:

    Measure =
    IF (
        MAX ( tbl[Action Status] ) = "Completed"
            && MAX ( tbl[Forecasted Date] ) = BLANK (),
        "not correct",
        "correct"
    )
    

    Did I answer your question ? Please mark my reply as solution. Thank you very much.
    If not, please feel free to ask me.

     

    Best Regards,
    Community Support Team _ Janey