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 / Count files in OneDriv...
Power Automate
Answered

Count files in OneDrive folder in base a condition

(0) ShareShare
ReportReport
Posted on by

Hello, I need to count the number of files in a Onedrive folder based on a condition that it contains a string of characters and I don't know how to do it, at the moment I am using this action but I don't know how to see how many files it produces.

How should I do it?

 

Thanks for the help

 

RoberthCB_0-1703800676558.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @RoberthCB ,

    Please use the 'List files in folder' control.

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_1-1703808202327.png

    vyetonggumsft_2-1703808251644.png

    length(outputs('List_files_in_folder')?['body/value'])

    Best Regards,

    Sunshine Gu

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard