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 Apps / Count number of upload...
Power Apps
Answered

Count number of uploaded attachments in new form

(0) ShareShare
ReportReport
Posted on by 65

Hi

I have a Sharepoint List a customized form based on Power Apps

Is there a way how I can coun't the number of uploaded attachments before i submit a new form?
I noticed that there is a value on the attachment field "Max Attachments" where i can define the maximum number of attachments. But how can i count them myself? 

 

Thanks in advance

 

Categories:
  • AsanKani Profile Picture
    710 on at

    Hi, You don't need to count Attachment. Already PowerApps give in Attachment Property. Default we can attached only 6 attachment. If you need more than 6, You can simple give your Maximum count in MaxAttachments  Field. That's it.

    AsanKani_0-1628007685243.png

     

  • Lephas Profile Picture
    65 on at

    I want to display a number of fields based on how many attachments i have - for each attachment i have a field with a Rating.

  • Verified answer
    AsanKani Profile Picture
    710 on at

    @Lephas  Simply add any label / text box and it's text to Datacardvalue63 is my attachment data card.

     

     

    CountRows(DataCardValue63.Attachments)

     

     

    AsanKani_0-1628008242786.png

    I think now your got solution. 

    Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.

  • hari27pn Profile Picture
    18 on at

    One question here.
    I have used the Countrows function. The issue is I get the number if I use the label within the same form. But when I use the same formula in another form it doesn't work. It gives me blank value.

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 Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard