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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
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.