In Power BI, select Manage Gateways:


Select Add data sources to use the gateway:

Give the name as Excel Spreadsheet and the type as File:

Provide the path to the file and also the windows username and password:

You can add multiple data sources by selecting Add Data Source:

