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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Custom Column Error

I have a column called Area and I am creating a custom column called Region based on Area using IF Statement as follows:

Region Grouping Code.PNG However, the output comes as follows:

Region Grouping question.PNGSome of the A's get assigned and others are given others. I am not able to understand why this is happening. Any suggestions?

 

Thank You!

1 ACCEPTED SOLUTION
ChrisMendoza
Resident Rockstar
Resident Rockstar

@Anonymous,

 

You have " A" (space A) versus "A" with no space.

 

Therefore your IF ( ) is evaluting as FALSE giving you "Others"






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

3 REPLIES 3
ChrisMendoza
Resident Rockstar
Resident Rockstar

@Anonymous,

 

You have " A" (space A) versus "A" with no space.

 

Therefore your IF ( ) is evaluting as FALSE giving you "Others"






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Anonymous
Not applicable

@ChrisMendoza Thank You!

Anonymous
Not applicable

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.