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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
swathidp
Regular Visitor

Extracting ID, a number into the middle of a text in another column

I have an url column where I have inserted a generic url and I want to call the ID dynamically from another number in ID column.

I am trying to extract the number from column ID and put it in the middle of url column. I wrote the following and the number is not getting extracted:

#"Added Custom" = Table.AddColumn(#"Added Index", "TestURL", each Text.Combine({"https://companyname-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID=","Number.From([ID])","&e=xh1LOA"})),

 

Please help where am going wrong.

The out put shows this https://company namesharepointfolder-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID=Number.From([ID])","&e=xh1LOA instead all I want is

https://companyname-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID=25&e=xh1LOA

1 ACCEPTED SOLUTION
onurbmiguel_
Super User
Super User

hi @swathidp 

Please try : 

= Table.AddColumn(#"Changed Type", "TestURL", each "https://companyname-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID=" & Text.From([#"Number.From([ID])"]) & "&e=xh1LOA")

 

 

Best regards

Bruno Costa | Power Participant

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍


You can also check out BI4ALL's website and our data solutions!

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


View solution in original post

2 REPLIES 2
onurbmiguel_
Super User
Super User

hi @swathidp 

Please try : 

= Table.AddColumn(#"Changed Type", "TestURL", each "https://companyname-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID=" & Text.From([#"Number.From([ID])"]) & "&e=xh1LOA")

 

 

Best regards

Bruno Costa | Power Participant

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍


You can also check out BI4ALL's website and our data solutions!

 


Best regards


Bruno Costa | Super User


 


Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 


Take a look at the blog: PBI Portugal 


 


This worked but with a little tweak :

#"Added Custom" = Table.AddColumn(#"Added Index", "TestURL", each Text.Combine({"https://company name-IT/Lists/Project%20Intake%20Request%20Form/DispForm.aspx?ID="& Text.From([#"ID"]) & "&e=xh1LOA"})),

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.