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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Direct Link to an Item in SharePoint List from within Power BI

I have a simple Power BI report which is based on a SharePoint Online List. I am creating a table visual and i would like users to be able to directly access a Link and open that particular List Item (not the whole list). But I do not see any Link/URL column available in Power Query with an actual link to the List Items. 

Can someone please help  if there is any way to achieve the stated funcationality?

 

3 REPLIES 3
varunvasudeva1
Advocate I
Advocate I

For future reference to anyone who finds this thread:

I have a very similar use case to the original poster and my data is being sourced from SharePoint via an OData Feed. This gives you access to a host of attributes, namely [Path] and [Name]. [Path] is the folder path to the file without the filename and extension and [File] is only the filename and extension. I made a URL column (by making a new custom column and utilizing Text.Combine()) of the following structure:

https://{organization}.sharepoint.com/{path}/{name}

 

However, this led to the system opening the files that it could in the browser (PDFs, images) but defaulted to downloading binary files like .xlsx, .docx, and .pptx. I wanted, instead, for it to open in SharePoint Online no matter the file type.

 

Changing the URL to the following form did the trick:

https://{organization}.sharepoint.com/:w:/r/{path}/{name}?csf=1&web=1

 

With the above form, the link will automatically conform to SharePoint's standardized link structure with 'sourcedoc' and 'file' query parameters, without you needing to specify them - all you need is the file path and name coupled with the 'csf' and 'web' parameters.

 

Hope this helps!

You are a legend sir. It even works with csv files!

TomMartens
Super User
Super User

Hey @Anonymous ,

 

unfortunately, it's not possible what you are aiming for.

 

Maybe this can help:

  • Create a table that contains all the items (this is basically the idea of Power Query)
  • Create/Use a column that helps the user to identify the item
  • Create a column that contains an URL that points to the item as a string
  • Load the query to the Power BI dataset
  • Mark the column and change the data category of the column Web url
    image.png

Now you can use the column inside a Table visual and use the link as expected.

 

Hopefully, this helps to tackle your challenge.

 

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors