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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Character Number Validation

Hi!

I am working with KPIs and one of them needs two validations:

1) The cell from the source file shouldn't be blank

2) We have to take into consideration that, since this is a live file and it's changing multiple times in a day, sometimes the users populate the field with single characters like 1, A, etcetera.

What I thought would be a workaround was to use the LEN function to validate if the field (BCIT Clients) has more than 1 character.

I tried using it but it seems that I need to parse it first. Is there a function that can count characters from a string? I appreciate your help on this matter.

 

sdocimo_0-1695738972602.png

 

2 REPLIES 2
Anonymous
Not applicable

@Greg_Deckler I didn't notice that. Thank you!!

Greg_Deckler
Community Champion
Community Champion

@Anonymous You have a parenthesis problem:

 

IF( OR ( LEN( [BCIT Clients ) > 1, NOT ( ISBLANK( [BCIT Clients ) ) ), [Approved], 0 )



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.