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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Hanto
New Member

Need help to create a URL measure based on other fields

I have a field which follows the layout as follows: ID-Name (i.e. 123-henry)

 

I want to (for example above) create a URL Measure that looks like this: app.powerbi.com/ID=123.

 

I tried this DAX syntax (Kudos ChatGPT):

URL Measure = "app.powerbi.com/ID=" & SUBSTITUTE([ID-Name field], "-", ""

 

And got the following error:

"(...) a measure formula refers to a column that contains many values without specifying an aggregation (...)"

 

Pls help 🙂 

1 REPLY 1
lucadelicio
Super User
Super User

You could try to create a calculated column with the same code.

Then you can use the new filed.

Mark as solution if i help you.

 

Ciao



Luca D'Elicio

LinkedIn Profile

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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