Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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"
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
65 | |
64 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
38 |