Forum Discussion

steambucky's avatar
steambucky
Helper III
8 years ago
Solved

Replace all different values except one

I have a column of data   Cat Dog Mouse ANIMAL UNKNOWN ANIMAL UNKNOWN ANIMAL UNKNOWN   I want to replace everything except ANIMAL UNKNOWN TYPE with ANIMAL TYPE KNOWN.   I have far more tha...
  • RahulYadav's avatar
    8 years ago

    Hi steambucky,

    You can use below dax formula to solve your problem.

     

    Resived Name = if(Animals[Name]<>"ANIMAL UNKNOWN","ANIMAL TYPE KNOWN",Animals[Name]) 

    Thanks,

    Rahul