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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
DiePic
Resolver II
Resolver II

Duplicate a column with text replace

Hi all

I have a table that is imported from dynamics 365 sales.
I need to duplicate a column but I must cancel the suffix of the code .... this is the example:
NrOpportunity = "OPP-0001"
NewColumnNrOpportunity = "0001"
....

How can I do that?

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @DiePic 

 

base data

Mikelytics_0-1674226341626.png

 

Mikelytics_1-1674226386074.png

define delimiter -> you can also use OPP-

Mikelytics_2-1674226414607.png

Results

Mikelytics_3-1674226448076.png

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

 

 

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

2 REPLIES 2
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @DiePic 

 

base data

Mikelytics_0-1674226341626.png

 

Mikelytics_1-1674226386074.png

define delimiter -> you can also use OPP-

Mikelytics_2-1674226414607.png

Results

Mikelytics_3-1674226448076.png

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

 

 

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Hi @Mikelytics 
thanks for your help...
that is what I'm searching for my duplicate column ....

DiePic_0-1674227535976.png

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors