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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

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

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) )

Hello _AAndrade, 

Thanks for your reply.

Could you please send it in the query editor format.

Thanks.!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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