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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
santu1021
Helper II
Helper II

remove suffix text......

Dear,

 

I have huge data with mixed of numbers and text. I want to remove all suffux text (like T,A, B etc) from the data. Suffix is not organised, some time only one Text, some time twice, 3 etc...

 

As - IsTo be
A205TA205
A205TMA205
A220TPA220
A220TOA220
A300AUA300
A300ARA300
A300BFFA300
A300BGGHA300
A300BIIA300
A300BRRA300
A300DSA300
A300DEA300
A300DFA300
A300DGA300
A300DHA300
A300DJA300
A300EKA300
A300EQA300
A770A770
A770KOA770
A770ABA770
A770GyyA770
A770GkA770

 

Santhosh

1 ACCEPTED SOLUTION

Thank you very much !!!!

View solution in original post

5 REPLIES 5
bfernandez
Resolver II
Resolver II

You can accomplish this by going into Power Query and Extracting the first characters; which is your case seems to be the first 4 characters.

 

In Power Query:

Extract.pngFirst Characters.png

Thank You !! I tired this option.

Sorry,  the count is mixed, it is not organised, I don't how many different varient count I have in data.

CT2535KE - CT2535

E55A-E55

E45RTYU -E45

 

Try this:

 

Split.png

Thank you very much !!!!

Glad I could help! Please mark the post as a solution to help others! 😁

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.