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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.