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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
sasdfasdfsad
Advocate III
Advocate III

Usage Metrics: URL to actual report in PBI service?

From inside the usage metrics data model, is it possible to build a URL that takes you to the actual report whose metrics are being shown?

If I get my top 5 used reports in the usage metrics, is there a way to make a URL link so I can click the link to see the actual report whose metrics are being shown?

2 ACCEPTED SOLUTIONS
Jai-Rathinavel
Super User
Super User

@sasdfasdfsad It is possible to create dynamic URLs using a Measure and don't forget to format it as Web Url

 

1. Create a DAX Measure like below

 

Report_URL = 
VAR WorkspaceId = SELECTEDVALUE('Table'[WorkspaceID])
VAR ReportId    = SELECTEDVALUE('Table'[ReportID])

RETURN 
IF(
    NOT ISBLANK(WorkspaceId) && NOT ISBLANK(ReportId),
    "https://app.fabric.microsoft.com/groups/" 
        & WorkspaceId 
        & "/reports/" 
        & ReportId 
    BLANK()
)

 

2. Format the measure as Web url and drag the measure to a table visual. 

 

JaiRathinavel_0-1775241310299.png

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

vojtechsima
Super User
Super User

Hey, @sasdfasdfsad ,

if you want to reuse original Usage Report semantic model, you can't directly add stuff to it, but you can create your own custom report linked to it.

In fresh Power BI Desktop connect to the model:

vojtechsima_0-1775416948120.pngvojtechsima_1-1775416950934.png

Then create a new measure like this:

URL = 
var base = "https://app.powerbi.com/groups/"
var report_id = MAX(Reports[ReportGuid])
var group_id = MAX(Reports[OwnerGroupGuid])
var link = base & LOWER(group_id) & "/reports/" & LOWER(report_id)

return link

 

Set it as Text and WebUrl.

vojtechsima_2-1775416996584.png

 

and then you can build your own report with the link as a column.

vojtechsima_3-1775417134813.png

 






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

3 REPLIES 3
v-saisrao-msft
Community Support
Community Support

Hi @sasdfasdfsad,

Have you had a chance to review the solution we shared by @Jai-Rathinavel ,@vojtechsima ? If the issue persists, feel free to reply so we can help further.

 

Thank You.

vojtechsima
Super User
Super User

Hey, @sasdfasdfsad ,

if you want to reuse original Usage Report semantic model, you can't directly add stuff to it, but you can create your own custom report linked to it.

In fresh Power BI Desktop connect to the model:

vojtechsima_0-1775416948120.pngvojtechsima_1-1775416950934.png

Then create a new measure like this:

URL = 
var base = "https://app.powerbi.com/groups/"
var report_id = MAX(Reports[ReportGuid])
var group_id = MAX(Reports[OwnerGroupGuid])
var link = base & LOWER(group_id) & "/reports/" & LOWER(report_id)

return link

 

Set it as Text and WebUrl.

vojtechsima_2-1775416996584.png

 

and then you can build your own report with the link as a column.

vojtechsima_3-1775417134813.png

 






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
Jai-Rathinavel
Super User
Super User

@sasdfasdfsad It is possible to create dynamic URLs using a Measure and don't forget to format it as Web Url

 

1. Create a DAX Measure like below

 

Report_URL = 
VAR WorkspaceId = SELECTEDVALUE('Table'[WorkspaceID])
VAR ReportId    = SELECTEDVALUE('Table'[ReportID])

RETURN 
IF(
    NOT ISBLANK(WorkspaceId) && NOT ISBLANK(ReportId),
    "https://app.fabric.microsoft.com/groups/" 
        & WorkspaceId 
        & "/reports/" 
        & ReportId 
    BLANK()
)

 

2. Format the measure as Web url and drag the measure to a table visual. 

 

JaiRathinavel_0-1775241310299.png

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.