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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
liewgm
Frequent Visitor

How to Access Files Uploaded to Report Server Directly?

Hi,

 

I have PBI Report Server set up and running fine. Question is how do I access the files uploaded to the Report Server directly?

 

E.g. Pass an URL of an uploaded Excel (http://myServer/abc.xlsx) to Excel application to open it, make edits on the file and then save it back to PBI Report Server?

 

Thanks.

1 ACCEPTED SOLUTION
jcollinson2001
Resolver IV
Resolver IV

The file is stored as a binary object in the Report Server database. The Report Server API will allow you to open the file directly within Excel but not save it back.

 

To open the file, you'll need to find the GUID of your file, and put it into the following API call:

 

http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value

 

Then open Excel and paste that URL into the File->Open window.

 

You will have to manually save and re-upload the file to store any changes.

View solution in original post

4 REPLIES 4
jcollinson2001
Resolver IV
Resolver IV

The file is stored as a binary object in the Report Server database. The Report Server API will allow you to open the file directly within Excel but not save it back.

 

To open the file, you'll need to find the GUID of your file, and put it into the following API call:

 

http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value

 

Then open Excel and paste that URL into the File->Open window.

 

You will have to manually save and re-upload the file to store any changes.

Hi,

I'm trying to do the same thing. I've uploaded an excel document to serve as a datasource but I can't get the GUID. How were you able to find it? 

Hi never mind I was able to find it using the rest api catalogue items properties command.

Thanks for the reply.

 

It worked on Excel but I was not able to connect to the Excel PowerPivot source from Report Builder (as a SSAS source).

 

Data Source = "http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value"

 

Used to be able to do that in SharePoint (Data Source = "http://<sharePoint library>/myPowerPivot.xlsx"

 

Would still consider this an answer to the question though. Thanks.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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