Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How make IF returns value from column

Hello! I'm newbie at Power BI and Im struggling to solve a simple question. I did a search on forum but there is so much information and i didn't find what i need especifically.   So let's go. ...
  • Jihwan_Kim's avatar
    Jihwan_Kim
    5 years ago

    Hi, Anonymous 

    In my opinion, I think the error is because of the data type.

    Please try to change the data type of DDL Pending QTY to TEXT, and try the below for creating a new column.

     

    Coluna = IF('Base SAP'[DDL Pending Qty] = "0", "NOK", 'Base SAP'[DDL Pending Qty])
     
     

    Hi, My name is Jihwan Kim.


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


    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM