Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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"
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 39 | |
| 34 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 122 | |
| 111 | |
| 83 | |
| 69 | |
| 68 |