Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi I am trying to create a conditional column with multiple possible results. I keep getting "Token Comma Expected" I go to Custom Column , and add this:
if [Dependents] >0 and Text.Contains([Applicant Name] "&" ) then "Family"
else if [Dependents] =0 and Text.Contains([Applicant Name] "&" ) then "Couple"
Else "Single"
Solved! Go to Solution.
I believe you want this:
if [Dependents] >0 and Text.Contains([Applicant Name], "&" ) then "Family" else if [Dependents] =0 and Text.Contains([Applicant Name], "&" ) then "Couple" Else "Single"
I believe you want this:
if [Dependents] >0 and Text.Contains([Applicant Name], "&" ) then "Family" else if [Dependents] =0 and Text.Contains([Applicant Name], "&" ) then "Couple" Else "Single"
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |