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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The query cannot be co...
Power Automate
Unanswered

The query cannot be completed because the number of lookup columns it contains exceeds the lookup

(0) ShareShare
ReportReport
Posted on by 70

Hi,

 

I am getting the error mentioned error in the below MS flow

 

Please let me know how this can be eradicated?

 

Regards,

Sudheertemp.JPG

Categories:
I have the same question (0)
  • Brentless Profile Picture
    106 on at

    They just recently added a new option on the Trigger, under "Show Advanced Options", called Limit Columns By View

     

    You need to first create a view on the sharePoint list that doesnt contain every field. Ideally only the fields you need for the Flow.

     

    Then in your trigger select the View you created.

     

    This should allow you to get beyond that error.   

     

    This just opened the door for so many Flows that I havent been able to do because we have columns galore.

  • v-yamao-msft Profile Picture
    on at

    Hi @sudheermadduru,

     

    How many lookups do you have in your list? 

     

    There is a default limitation on SharePoint of List view lookup Threshold and the default value = 12.

     

    Please check this doc for more details:

    https://blogs.msdn.microsoft.com/spses/2013/12/02/sharepoint-20102013-list-view-lookup-threshold-uncovered/

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    on at

    Hey, @sudheermadduru!

     

    It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • GregGuth2 Profile Picture
    44 on at

    This is the real solution. The other approved answers explain why they are getting the error but not a working solution.

     

    The simple solution is to create a view on the list of just the core fields you need to update then you can update them without issue.

     

    By the way, there is a bug (terrible UI behavior) in if you fill out the form fields in order (Site Address, List Name and ID), you will never see the "Show Advanced Options" link as it pops to the bottom of all the form fields. You then have to scroll way down to the bottom, click on the "Show Advanced Options" link, then scroll back up to the top and you will now see the "Limit Columns by View" option. Not real intuitive. The easiest way is to click on the "Show Advanced Options" link before you fill out the Site Address etc and you will always see the "Limit Columns by View" option.

     

    I think many developers have been struggling with the fact that Microsoft basically hides "Limit Columns by View" as an advanced option when it really is essential and not advanced at all.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard