OData feed--> import to Excel, but only specific columns

ANSO 21 Reputation points
2022-04-07T12:10:14.04+00:00

Hello,

I would like to import with OData to excel an excel file, but only specific columns, to reduce the refresh time and keep file size at a minimum.
I have tried this formula:
let
source=odata.feed("https://company.com/data/qualityOrder?$SELECT=MyColumn1,MyColumn2" , null , [Implementation=2.0"],
QualityOrder_table=Source{[Name="QualityOrder",Signature="table"]}[Data]
in
QualityOrder_table

The OData import works otherwise, but I would like to import only a few columns, not ALL. And I dont want to remove the columns in Power Query.

Any suggestions would be appreciated. :)

Thank you.

Kind Regards,

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,150 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,672 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ceasar Chen_MSFT 4,391 Reputation points
    2022-04-08T06:50:52.247+00:00

    Hi, @ANSO
    Welcome to the Q&A forum, I am in charge of Office General. This question is related to SQL Select statement, you can refer to this link:sql_select.asp . Thanks for your understanding.

    Note: Microsoft is providing this information as a convenience to you.
    The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful