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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

DAX to FIND or SEARCH uppercase string with certain length

Is it possible to use FIND or SEARCH function to look for upper case string in a column with specific length?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

Based on test, I found that 'FIND' function support uppercase filter, 'SEARCH' function not support.

UPPER/LOWER(FIND) = FIND("BET",[Text])&"/"&FIND("bet",[Text])

UPPER/LOWER(Search) = SEARCH("BET",[Text])&"/"&SEARCH("bet",[Text])

5.PNG

 

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hello,

Trying to clean up a constituent database by finding all instances of where someone used all caps in a field similar to the example below. The table has 19k+ rows.

 

PrefixFirstNameLastNameSuffixGradYearHomeAddress1HomeAddress2HomeCityHomeStateHomeZip
Mr.JamesMAIER  12345 MYSTREET  HOMETOWNMI12345-1234
Anonymous
Not applicable

Hi @Anonymous,

 

Based on test, I found that 'FIND' function support uppercase filter, 'SEARCH' function not support.

UPPER/LOWER(FIND) = FIND("BET",[Text])&"/"&FIND("bet",[Text])

UPPER/LOWER(Search) = SEARCH("BET",[Text])&"/"&SEARCH("bet",[Text])

5.PNG

 

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.