web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get the length ...
Power Apps
Answered

How to get the length of an array ?

(0) ShareShare
ReportReport
Posted on by

Hello there !

 

I have a sharepoint multi-line column where i store users' email separated by a ";;", like following :

johndoe@organization.com;;janedoe@organization.com;;calamityjane@organization.com

 

In Powerapps,i would like to count how many passenger email I got.

In other languages/logics, i would do a simple length(split(PassengerEmail,";;")), but unfortunately there is no such thing in powerapps !

 

Any idea on how to proceed ?

 

Thanks a lot, have a wonderful day!

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

    Try this:

    CountRows(
    Split("johndoe@organization.com;;janedoe@organization.com;;calamityjane@organization.com",
    ";;")
    )

    Which should be the same as the function you posted.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    on at

    Hi Michael,

    Thanks a lot, I might have not read the article on Count until the end ..

    This does exactly what i was wanting !

    Have a nice day !

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard