cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
sdocimo
New Member

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
sdocimo
New Member

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

Greg_Deckler
Super User
Super User

@sdocimo You have a parenthesis problem:

 

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


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors