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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
anabianco09
Helper II
Helper II

How to erase more than one character in columns

Hi all, I am trying to erase some characters in a column if they start with the specific letters: PCE-

anabianco09_0-1695912252884.png

And then I'd keep only the numbers after the -

How can I easily automate that for everytime the data is refreshed?

 

 

Thanks

 

 

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@anabianco09 ,

In Power Query, create a new custom column like this:

rsbin_0-1695923538556.png

Power Query has a number of different text functions available to manipulate your raw data.

Hope this helps.

Regards,

View solution in original post

2 REPLIES 2
rsbin
Super User
Super User

@anabianco09 ,

In Power Query, create a new custom column like this:

rsbin_0-1695923538556.png

Power Query has a number of different text functions available to manipulate your raw data.

Hope this helps.

Regards,

That worked perfectly! Thanks @rsbin !!

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