Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi everyone,
I have one table that contains two columns: a non-unique url and unique activity id's. These two columns are in one table and i would i like to achive a new column that return the on each row the url with each unique activity ID.
So This is the example: In the yellow part of the URL column you see "&[activityid]&" and in the activityid column you see each row a unique id's. A new column will return on first row the following output:
This is the example:
A new column need to be created where the yellow marked non-unique value will replayce with {activityid} on each row.
So the first output on this example would be:
Any suggestions?
Many thanks!
Maybe the SUBSTITUTE function?
SUBSTITUTE(<text>, <old_text>, <new_text>, <instance_num>)
New Column = SUBSTITUTE([URL],"""&[activityid]&""","{" & [activityid] & "}")
Thank u so much!
A new column need to be created based on URL column (see yellow part) and activityID that return on each row:
Hello,
What do you exactly mean?
So This is the example: In the yellow part of the URL column you see "&[activityid]&" and in the activityid column you see each row a unique id's. A new column will return on first row the following output:
Is there supposed to be something here?
This is the example: A new column need to be created where the yellow marked non-unique value will replayce with {activityid} on each row. So the first output on this example would be:
Is there supposed to be something here?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |