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

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
Microsoft v-siky-msft
Microsoft

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
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,188)