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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
TheeWoko
New Member

Remove non-english rows from the table.

Need all non-English rows removed. 

This an excerpt of the entire table, there are over 300 rows.

Screenshot 2025-08-07 125327.png

2 ACCEPTED SOLUTIONS

Step 2 click the column with the language, untick Select all and tick english:

SamWiseOwl_0-1754572164549.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

Hi @TheeWoko 

In the query editor choose Add Column | Custom Column then paste this code in replacing App with what ever your column is called:

if List.Contains({"a".."z","0".."9"," ", ".", ",", "'", "!", "?"}, Text.Lower(Text.Start([App], 1))) and List.Contains({"a".."z","0".."9"," ", ".", ",", "'", "!", "?"}, Text.Lower(Text.End([App], 1))) then "English" else null

 

This will test if the first and last letters are in the comma seperated list, feel free to add as many other punctuation marks as you like to both lists.

 

Attached file as example.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

6 REPLIES 6
SamWiseOwl
Super User
Super User

Have you tried the Text Analytics option in the Query editor? Can detect 120 different languages.
https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-ai-insights

 

SamWiseOwl_0-1754570766458.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

I'm not trying to identify them, I'm trying to remove them 😂

Trying to clean the data and optimise it for english-speaking clients so need only english apps.

Step 2 click the column with the language, untick Select all and tick english:

SamWiseOwl_0-1754572164549.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Thank you a lot, worked great but left some foreign apps tht have english words. FAR FAR better than what we had. Thank you!

Hi @TheeWoko 

In the query editor choose Add Column | Custom Column then paste this code in replacing App with what ever your column is called:

if List.Contains({"a".."z","0".."9"," ", ".", ",", "'", "!", "?"}, Text.Lower(Text.Start([App], 1))) and List.Contains({"a".."z","0".."9"," ", ".", ",", "'", "!", "?"}, Text.Lower(Text.End([App], 1))) then "English" else null

 

This will test if the first and last letters are in the comma seperated list, feel free to add as many other punctuation marks as you like to both lists.

 

Attached file as example.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

I'm trying another approach using M.
Taking the first and last letters then checking they are both "English".

 

A better test would be checking if they aren't english but there are something like 330k Unicode characters that makes it ... impractical to test.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors