Skip to main content
Post

#PowerPlatformTip 179: 'Maximize Dataverse Performance with Select Columns ($select)'

#PowerPlatformTip 179: 'Maximize Dataverse Performance with Select Columns ($select)'

TL;DR: The Dataverse List rows action returns all columns unless you tell it otherwise. Open the advanced options, fill Select columns with a comma-separated list of the logical names you really need (e.g. cr123_name,cr123_status), and Dataverse only returns those - a smaller payload instead of the whole row.

💡 Challenge

When you use the Dataverse List rows action in a flow, it downloads every column of the table by default. Because you don’t add a $select behind the scenes, the query returns all properties, which can hurt performance. On tables with dozens or hundreds of columns - and hundreds or thousands of rows - you move a huge, unnecessary payload through your flow, wasting memory and run time.

✅ Solution

Limit the query at the action level with Select columns. Enter only the logical names of the columns you actually use downstream. Dataverse then returns just those columns, shrinking the payload. This maps to the OData $select query option.

🔧 How It’s Done

1. Add the List rows action

🔸 Add Microsoft Dataverse → List rows and pick your Table name.

2. Open the advanced options

🔸 New designer: on the Parameters tab, open the Advanced parameters dropdown and enable Select columns.

🔸 Classic designer: choose Show advanced options on the List rows card.

3. Enter the logical column names

🔸 In Select columns, type a comma-separated list of logical names (not display names), for example:

1
cr123_name,cr123_status

🔸 An Account example: name,createdon,preferredcontactmethodcode,emailaddress1,telephone1.

Before and after (concept): without Select columns, each returned row contains every column of the table, including ones you never use. With the five columns above, each row only has those five plus the primary key, and the next action’s dynamic content list gets much shorter too.

🔸 You don’t need to add the primary key - it’s always returned automatically.

4. (Optional) Trim expanded columns too

🔸 If you use Expand Query to pull related rows, add a nested $select there as well, e.g. primarycontactid($select=contactid,fullname), so related tables don’t drag their full column set along. If you only enter the name of the navigation property, you get all columns of the related rows.

💡 Tip: Not sure of the exact logical names? Run the action once with Row count = 1 and no Select columns, then inspect the output to pick the properties you need.

🎉 Result

Your flow moves only the data it needs. The response is smaller and flows against wide tables stay leaner. How much faster it gets depends on the table width and row count.

🌟 Key Advantages

🔸 Smaller payload: Only the requested columns are transferred instead of the whole row.

🔸 Lighter: Less data moves through the run, which helps most on wide tables.

🔸 Cleaner flows: only the columns you really use show up downstream.

⚠️ Watch out for “Return Full Metadata”: This advanced setting controls whether all columns or just the essential ones are loaded. If you don’t set it, the action automatically returns full metadata when your flow uses dynamic content or expressions that need it - so reference only the columns you selected. Also note that currency columns automatically return the related _transactioncurrencyid_value lookup, and composite address columns (e.g. address1_line1) also return their address1_composite value.

🛠️ FAQ

Q: Do I use display names or logical names in Select columns?

Always the logical names (e.g. cr123_status), comma-separated. Display names won’t work.

Q: Do I have to include the primary key column?

No. The primary key (e.g. accountid) is always returned automatically, so you can leave it out of your list.

Q: I set Select columns but still get extra columns - why?

A few properties come along by design: currency columns add the _transactioncurrencyid_value lookup, composite address fields add their composite property, and Return Full Metadata (set explicitly, or applied automatically when dynamic content or expressions need it) loads more than your list.

Q: Does this also help with related tables via Expand Query?

Yes. Add a nested $select inside the expand, such as primarycontactid($select=contactid,fullname), to limit the related columns too.

Q: What’s the difference between Select columns and Filter rows?

Select columns limits which columns (fields) are returned; Filter rows limits which rows (records). Combine both, plus Row count, to return only the data you truly need.

🔸 #PowerPlatformTip 95: ‘Optimized SharePoint Queries’ - the same “return only what you need” principle for SharePoint (Select query / Limit columns by view).

🔸 #PowerPlatformTip 42: ‘Dataverse Views’ - the complementary angle: filter which rows come back server-side, instead of which columns.

This tip is by Marcel Lehmann, Microsoft MVP (Business Applications) and founder of the Power Platform Academy, which runs free live workshops (in German). See the next free workshop dates (in German). For companies that want this implemented for them, see KMUpower: Power Platform consulting & automation for SMEs (DACH).

This post is licensed under CC BY 4.0 by the author.

Microsoft and the Power Platform product names (for example Power Apps, Power Automate, Copilot Studio) are trademarks of the Microsoft group of companies. This is an independent website. It is not operated, sponsored or endorsed by Microsoft.