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 / How to count the total...
Power Automate
Answered

How to count the total items return based on the filtered query from document library

(0) ShareShare
ReportReport
Posted on by 54

Currently i am trying to get the total items based on Company_x0020_Code column, but i still hit the error.

Please advice.

For your info: Company_x0020_Code is Managed Metadata Column

Thanks.

 

 image.png

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @VTEC,

     

    Could you please share a bit more about your SharePoint list?

    Is the Company Code column a Managed Metadata colymn in your SharePoint list?

    Further, do you want to use OData query within the Filter Query field of the "Get items" action to filter items?

     

    I have made a test on my side, the Managed Metadata column is not supported in the OData query filter expression filled within the Filter Query field of the "Get items" action in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    In addition, you could consider take a try to change the data type of the Company Code column into a Single line of text type column and try your flow again to check if the issue is solved.

     

     

    Best regards,

    Kris

  • Verified answer
    VTEC Profile Picture
    54 on at

    Hi Kris,

     

    Thanks for your feedback and advice.

    Currently i am using Document Library and it's requiring metadata column to store all the predefined-value for user selection.

    It's pretty tough for me to change the column type to text.

    I will raise a request to Flow Ideas forum.

     

    Thanks a lot.

     

    Cheers,

    VTEC

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard