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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
DataSundowner
Helper II
Helper II

Convert a Pattern of Bad Data to Null

Hi everyone. I have a column contains a bunch of bad entries such as "000000", "1111", "00000000000", "2222222" etc. Basically, it's a string with repetitive digits, and length of the string is not specific. How can I efficiently convert this kind of pattern to nulls in Power Query? Thank you! 

2 REPLIES 2
DataSundowner
Helper II
Helper II

@amitchandak Thank you for your reply. I found out the following post and it met my needs. 
https://stackoverflow.com/questions/57775536/power-query-how-to-delete-duplicate-characters-from-a-s...

amitchandak
Super User
Super User

@DataSundowner , does correct values have some pattern?


Can you share sample data and sample output in table format?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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