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

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

Reply
al1981
Helper II
Helper II

Replacing part of the text with value from another column

Dear all

 

I have long url with in one column. Inside, there is a text wich i would like to replace with values from other column

[Link] is text in this colum (full link in 2nd pic) and there is text inside "1.1.2018" that would need to be replaced with value from [text1] for 1st text and text2 with 2nd text...

Goal: to generate link for each month

 

al1981_2-1698393613621.png

 

 

al1981_1-1698393510168.png

 

4 REPLIES 4
Anonymous
Not applicable

Hi @al1981 ,

 

In this case, you can try to separate the URL and replace the value. Because I found that you are replacing the values after "p_datum_od=" and "p_datum_do=".

I'll replace the first text with an example, and so on for the second text.

vstephenmsft_0-1698829032285.png

vstephenmsft_1-1698829186226.png

Split again.

vstephenmsft_2-1698829238229.png

Now the first half[url.1], the replaced text[url.2.1] and the second half[url.2.2] are separated successfully. Now it's just a matter of re-merging the first half, the replaced text[text1], and the second half.

vstephenmsft_3-1698829391301.png

98.png

 

Here's the result.

101.png

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Hi, yes this is exactly how i did but hoped there is a more simple solution. Tnx

donsvensen
Continued Contributor
Continued Contributor

HI, thank you! I will need to check in more detail but not really sure i can replace part of the cell value with this? I will check very soon, thank you!

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors