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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jandrew
New Member

Loading an Excel spreadsheet with script

I need a script (PowerShell, VB, C#, etc) to load an excel spreadsheet to my Power BI Report Server. Can someone help?

1 ACCEPTED SOLUTION
bradsy
Microsoft Employee
Microsoft Employee

2 REPLIES 2
bradsy
Microsoft Employee
Microsoft Employee

There is a set of PS modules you can use. https://github.com/microsoft/ReportingServicesTools 

Anonymous
Not applicable

To start off we can use the SpreadJS files hosted on NPM. To do this, we can install using command line argument. Open up a command prompt and navigate to the location of your application. There, you can install the required files with one command. In this case, we need the base Spread-Sheets library, Spread-ExcelIO, and jQuery:

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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