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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sv11
Helper I
Helper I

Filtering in Power Query

Hi,

 

I have a field for phone numbers in my data. A typical record should have 11 charecters in it.

But my data has a few outliers like 0, 00, 100, 15241, etc. 

 

Is there a way I configure a filter in Power Query to just include rows with 11 charecters in this column?

 

Appreciate your help.

Thanks

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@sv11

 

You can add a custom column

=Text.Length([Field Name])

Then filter out this column for 11


Regards
Zubair

Please try my custom visuals

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@sv11

 

You can add a custom column

=Text.Length([Field Name])

Then filter out this column for 11


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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