cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pmdci Member
Member

Embedding Power BI Dashboards: Can't get URLs?

We created a Power BI Dashboard with custom URLs, so when a user clicks on a visual it would take the user to the given URLs.

 

This works perfectly on app.powerbi.com service site. However when we embed the dashboard in our bespoke application, clicking on those visuals that are supposed to open an URL results nothing.

 

We looked into the API and aparently there isn't a way to surface these URLs to our bespoke application. Unless were missing something? Has anyone tried this before?

 

Regards,

P.

1 ACCEPTED SOLUTION

Accepted Solutions
v-jiascu-msft Super Contributor
Super Contributor

Re: Embedding Power BI Dashboards: Can't get URLs?

Hi @pmdci,

 

As we can see from the online demo, the JS module seems not to provide this property. But we can get it through the REST API. Please refer to power-bi/dashboards/gettileingroup

Here is a working demo: Developer/API-to-get-Dashboard-tile-custom-hyperlink.

openurl

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
v-jiascu-msft Super Contributor
Super Contributor

Re: Embedding Power BI Dashboards: Can't get URLs?

Hi @pmdci,

 

As we can see from the online demo, the JS module seems not to provide this property. But we can get it through the REST API. Please refer to power-bi/dashboards/gettileingroup

Here is a working demo: Developer/API-to-get-Dashboard-tile-custom-hyperlink.

openurl

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
pmdci Member
Member

Re: Embedding Power BI Dashboards: Can't get URLs?

Hi @v-jiascu-msft

 

We managed to implement it as per your reply. However I wonder if there is a way to inherit the link target (current tab, new tab, etc) from the dashboard? At the moment we have some links we set-up to open in a new tab, but this seems to be ignored.

 

Sure we could code this ourselves but we wouldn't be able to mix and match different behaviours for multiple links in a dashboard.

 

Thanks!

P.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 224 members 2,290 guests
Please welcome our newest community members: