Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Custom Column error

What am I doing wrong in this case?

 

TOKEN ERROR.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

The issue is because one of the columns type was ABC123, after it was changed to text the formula worked. 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

The issue is because one of the columns type was ABC123, after it was changed to text the formula worked. 

smpa01
Community Champion
Community Champion

if [x] = "yes" and if [y]="yes" then 1 else 0

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

It still doesn't work, even if I use 1 and 0TOKEN ERROR 2.PNG

smpa01
Community Champion
Community Champion

Sorry my bad. gave you wrong solution initially. Apologies.

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.