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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jwi1
Post Patron
Post Patron

Remove strings below certain digits in column

Hi,

Hope someone can help me with the folowing.

I have a below mentioned column.

In power query, I want to remove all cells with less or more than than 7 digits.

How can I do that, is there a filter for that?

Thanks for your help!

John

 

Capture.PNG

 

2 ACCEPTED SOLUTIONS
darshaningale
Resolver II
Resolver II

Add a length column and get length of the data column.

Add another conditional column based on length column and data column.

Delete data column and length column and use the new conditional column.

 

Regards
DI

Did I answer your question? Mark my post as a solution, this will help others!
Kudos are also welcome.

View solution in original post

the file is not accessible.

View solution in original post

4 REPLIES 4
jwi1
Post Patron
Post Patron

have already find the solution myself, so problem solved.

Thanks for your advise,

John

darshaningale
Resolver II
Resolver II

Add a length column and get length of the data column.

Add another conditional column based on length column and data column.

Delete data column and length column and use the new conditional column.

 

Regards
DI

Did I answer your question? Mark my post as a solution, this will help others!
Kudos are also welcome.

good day @darshaningale,

 

Can you please let me know how to do it in the test file I have attached?

 

testfile  

the file is not accessible.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.