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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors