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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Replace value containing alphabets to blank values

Hi,

 

How can I replace all the rows in a column containing a combination of alphabets and numbers with Blank values?

 

Goal is to -

old        new

111  -    111

222  -     222

333   -   333

a44  - blank

555 - 555

r777 - blank

 

Then convert the column to an integer column

 

I want to add a new column to an existing table in the power query

 

Background

"Old" column is a text column

 

Thank you

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

you can:

- duplicate column

- change type to whole number

- then in transform replace errors to null

 

If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !

View solution in original post

1 REPLY 1
serpiva64
Solution Sage
Solution Sage

Hi,

you can:

- duplicate column

- change type to whole number

- then in transform replace errors to null

 

If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors