Forum Discussion
AKJB91
2 years agoRegular Visitor
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...
- 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.
Anonymous
2 years agoNot applicable
Hello
Can someone help with the below formula, it gives me null everywhere in the column
= Table.AddColumn(#"Renamed Columns3", "Churn flag NEW", each if([Seniority group]="0-1 year" & [Reason for Action]="Termination") then "Churn" else "null")