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

Conditional column for 10 digit account number

Hello All, 

 

I'm trying to create a conditional column between account numbers from the AccountID column. i would like to breakdown the account numbers with the accounts that have 10 digits in them and i'll call them BLAZE and the accounts with less than 10 digits i'll call them Pharos. 

 

I'm having trouble defining this. Any help would be appreciated. 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Give this a try

AccountID Group = 
IF ( LEN ( Table[AccontID] ) = 10, "BLAZE", "Pharos" )

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

Hello @Anonymous 

Give this a try

AccountID Group = 
IF ( LEN ( Table[AccontID] ) = 10, "BLAZE", "Pharos" )

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.