web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Limit CDS List Records...
Power Automate
Unanswered

Limit CDS List Records columns/attributes returned - Number of calculated fields in query exceeded maximum limit of 10"

(0) ShareShare
ReportReport
Posted on by 306
I have created some flows in my Dynamics 365 sandbox environment which I am now moving to Production. The flows which include a CDS List Records action for my Opportunity entity are now failing due to the error below:
 
"Number of calculated fields in query exceeded maximum limit of 10"
 
These flows run works fine in the sandbox environment. It would be really nice to get the same error in the sandbox environment, so you could plan for this.
 
Is it possible somehow to limit the query to only return a certain set of columns/attributes? E.g. so that the calculated columns are not included in the query?
Categories:
I have the same question (0)
  • v-zhos-msft Profile Picture
    Microsoft Employee on at

    Hi @NielsL ,

    It seems you want to get some certain columns from CDS.

    I suggest you use the 'Select' action to get the certain columns.

    Using the 'Filter array' to filter the records.

    Capture5.PNG

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Nielf Profile Picture
    306 on at

    @v-zhos-msft,

     

    Thanks for the input. I'll try to test that somehow. It's just a bit diffucult since the limitation regarding calculated fields only is in the Production environment.  

  • Žarko Radevic Profile Picture
    42 on at

    Wouldn't your flow fail already in "List records" step? I can't see how the "Select" action can help, you need to filter before the data is retrieved. I am also looking for a way to add "select" attribute to a query, can't believe it is not there in "List records" action. If you figured it out, please post the answer here.

    Regards

  • DilyanaR Profile Picture
    4 on at

    Did we ever solve this one?

    I am struggling with the same scenario where I want to limit what columns my List records brings back. I am getting the same error - Number of calculated fields in query exceeded maximum limit of 50. - even if I fetch only 1 record.

  • Nielf Profile Picture
    306 on at
    The increased limit helped me.

    You can use the new(ish) common data service connector (current environment) instead of the old one.

    There you can use FetchXML to define the filters and which columns that are returned.

    You need to create the flow in solution to use the new CDS connector.
  • DilyanaR Profile Picture
    4 on at
    Many thanks for the quick reply, NielsL.

    Any chance you could paste a screenshot?
    I'm already using Cureent but not in a solution. Not sure if that's the new or the old connector.
    I also cant see a way to fetch only specific columns:(.

    Many thanks,
    -DD
  • Nielf Profile Picture
    306 on at
    Have a look at this blog post which explain the differences between the two connectors:

    https://saralagerquist.com/2019/12/15/cds-vs-cds-what-connector-should-i-use-in-power-automate/
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I had slightly different requirements but your instruction helped a lot. Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard