Forum Discussion
Conditional Column with Multiple Conditions
- Anonymous2 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 _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.