cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Count number of items in a document library

Team, i have a document library associated to a form. I want to be able to display in a text label the number of times/documents inside a subfolder. 

For example, if the document library is named: MasterFiles

the subfolders are

  • Drafts
  • Finals

 

What would the formula be if i want to see how many files/documents have been uploaded inside Drafts and Finals.


Thanks in advance

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Count number of items in a document library

Hi @lui ,

 

Please try this, I hardcode the library and subfolder name, you can fit it to your app.

CountRows(Filter(MasterFiles,StartsWith('Folder path',"MasterFiles/Drafts")))

Best regards,

Sik

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (12,115)