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 / Powerapps Label proper...
Power Apps
Answered

Powerapps Label property limits

(0) ShareShare
ReportReport
Posted on by 599

Hi,

In my app i have an one label.

 

Now what i want is in that label i need to display only three words in first line of a label the rest of will show in next line.

 

Like This,

Suresh, Dani, Rajan,

Arun, Ganesh

 

 

Am using following formula in label's text property,

If(CountRows(collection)<=3,Concat(collection.DisplayName,ThisRecord.DisplayName,","),"" & Char(10) & Concat(collection.DisplayName,ThisRecord.DisplayName,","))

 

Is this correct or need to change my formula?

 

I need only three words display in First line of label, the rest will be in the next line.

 

Is it possible?

 

Thanks,

Dhinesh

 

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Dhinesh28R ,

     

    Please try this formula:

    1\ Add a button control and set its onselect property to:

    ClearCollect(Col,{DisplayName:"Suresh"},{DisplayName:"Dani"},{DisplayName:"Rajan"},{DisplayName:"Arun"},{DisplayName:"Ganesh"})

     

    2\ Add a label control and set its Text property to:

    If(CountRows(Col)<=3,Concat(Col,DisplayName,","),Concat(FirstN(Col,3),DisplayName,",")&Char(10)&Concat(LastN(Col,CountRows(Col)-3),DisplayName,","))

     

    3\ The result is as follows:

    v-xiaochen-msft_1-1617848755853.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

  • Dhinesh28R Profile Picture
    599 on at

    Hi @v-xiaochen-msft ,

     

    Now its working fine man.

     

    Thanks,

    Dhinesh

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard