简体   繁体   中英

Excel data feed with parameters

Is there any way that I can create a link to a datasource in Excel with includes a parameter for the datasource.

I have written my own OData feed which is working fine and the data's coming into Excel but now I'd like to extend it so that I can pass a parameter up in the server request. Ideally I'd like to take the parameter from a cell in the workbook but if required I can write a VSTO solution which changed the data feed to include the parameter in it - I'd just rather not!

So it turns out that the best method is to use Power Query - an MS extension to Excel. This allows you to set up a table with the parameter in it and use that as the parameter for an OData feed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM