cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NielsL
Level: Powered On

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

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?
3 REPLIES 3
v-zhos-msft
Level 10

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

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.

 

NielsL
Level: Powered On

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

@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.  

ZARE
Level: Powered On

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

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

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,791)