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
v-siky-msft
Level 10

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

Power Apps Super User Class of 2020

Check it out!

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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,733)