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
bingo
Microsoft Employee
Microsoft Employee

How to add a url in the report which is generated based on the url of one website

In detail, I embeded the powerBI report to one website, the report is one part in the page. In the report, I show one url which can guide users to one new website, but the url should not be fixed, but to be generated based one the url of current website dynamically. For example, when the report is embeded in the website (bus.aa.com), the generated url should be tour.aa.com/order/detail/XXX, but when in the website (train.bb.cc), the generated url should should be train.bb.cc/order/detail/XXX. Can this need be achieved? And how to do?

Thx.

1 REPLY 1
TomMartens
Super User
Super User

Hey @bingo ,

 

unfortunately, this is not possible.
The things that are dynamic are either calculated columns or measures. Calculated columns or measures are agnostic of the hosting application, for this reason, you can not ingest the url into the data model.

 

Maybe you use the function USERPRINCIPALNAME to determine the url based on the user that has authenticated to the underlying data model.

Regards,
Tom  



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.