Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

If formula for Power BI

Hi Team, 

 

I am looking for a If formula solutiuon for Power Querry. Currently I am using this in excel, while I would like to move to Power BI. The Formula in excel is:  

IF(A4="";"";IF(A4=A5;"renewed";""))

A4 is Blue

A5 is red

I am looking in the excel table for: 

 

How can I implement it either in DAX or power Querry?

 

thanks

 

 

 

  • Ahmedx's avatar
    Ahmedx
    2 years ago

    If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thank you for promt help.

     

    It Works perfectly.

    • Ahmedx's avatar
      Ahmedx
      Icon for Super User rankSuper User

      If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.