Forum Discussion

AKJB91's avatar
AKJB91
Regular Visitor
2 years ago
Solved

Conditional Column with Multiple Conditions

Hi All,  I am looking for a little help to develop a conditional column which would tag the rows I have in my table dependant on what a certain column contains.   Say I have 3 columns and I am loo...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi AKJB91 ,

    Please have a try.

    Add a custom column.

    if Text.Contains([Area], "00111") and Text.Contains([Area], "00112") then "Both"
    else if Text.Contains([Area], "00111") then "00111"
    else if Text.Contains([Area], "00112") then "00112"
    else "Check"

     

    How to Get Your Question Answered Quickly - Microsoft Fabric Community

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.