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
Anonymous
Not applicable

How to separate text form column and get other text onto another column.

Hello, 

Here we have a data on the Column "A". we need to eliminate the text "Excess" and paste other data into Column "B".

 

Yoganandhan_01_0-1708595112547.png

 

Thanks..!

Please look at this @Ahmedx. Thanks..!

1 ACCEPTED SOLUTION

and try this in M code

Screenshot_2.png

View solution in original post

6 REPLIES 6
Ahmedx
Super User
Super User

pls try this

Screenshot_1.png

Anonymous
Not applicable

Hello @Ahmedx ,

Thanks for your reply. 

Could you please provide the format in the power Query Editor. Because it show some errors with what I type with you gave it.!

 

Thanks.!

yes, I already wrote how to do this in power query

and try this in M code

Screenshot_2.png

_AAndrade
Super User
Super User

Try this:

IF( SELECTEDVALUE( columnA) = "EXCESS", BLANK(), SELECTEDVALUE( columnA) )





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Anonymous
Not applicable

Hello _AAndrade, 

Thanks for your reply.

Could you please send it in the query editor format.

Thanks.!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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