cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ikarthik
Microsoft
Microsoft

How to put multiple lines of text in one lable in powerapps?

Scenario: 
I have a set of data as below, where i need to showcase the report status in a label as comments:
 

Report1Report2Report3COMPLETENESS STATUSACCURACY STATUSTIMELINESS STATUSAREACurrency
532Not CompletedNoNoUSAUSD
356Not CompletedNoNoUSAUSD
 
So i have used the below function:
"Completness :" & CountRows(Filter(Source,
Currency="USD",AREA="USA",'COMPLETENESS STATUS'="Not Completed")) & " Report(s) not Completed"
& "Accuracy :" & CountRows(Filter(Source,
Currency="USD",AREA="USA",'ACCURACY STATUS'="No")) & " Report(s) Inaccurate"
"Timeliness :" & CountRows(Filter(Source,
Currency="USD",AREA="USA",'TIMELINESS STATUS'="No")) & " Report(s) not Impacted"
 
....and the result was like CaptureR.JPG (Snip attached), but i wanted to show the result as Completeness status (Comments) in 1st line, Accuracy Status (Comments) in 2nd line and Timeliness Status (Comments) in 3rd line like Expected.JPG (Snip Attached). 
I know by giving [Space] and by alternating the label size manually I can get the result as expected, but i wanted to show automatically without disturbing the size of label.
 
Please Help!
 
2 ACCEPTED SOLUTIONS

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @ikarthik ,

Try this

"Completness :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'COMPLETENESS STATUS'="Not Completed"
   )
) & 
" Report(s) not Completed" & Char(10) & 
"Accuracy :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'ACCURACY STATUS'="No"
   )
) & 
" Report(s) Inaccurate" & Char(10) & 
"Timeliness :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'TIMELINESS STATUS'="No"
   )
) & 
" Report(s) not Impacted"

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

eka24
Super User III
Super User III

Use Char(10) Example:

"EEEEEEE RRRRRRRRR"&Char(10)&
"PPPPPPPPPPPPPPPPPPPPP NNNNNNNNNNNNNNNNNNN"&
Char(10)&"OOOOOOOOOOOOOOOOO AAAAAAAAAAA"
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User III
Super User III

Hi @ikarthik ,

Try this

"Completness :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'COMPLETENESS STATUS'="Not Completed"
   )
) & 
" Report(s) not Completed" & Char(10) & 
"Accuracy :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'ACCURACY STATUS'="No"
   )
) & 
" Report(s) Inaccurate" & Char(10) & 
"Timeliness :" & 
CountRows(
   Filter(
      Source,
      Currency="USD",
      AREA="USA",
      'TIMELINESS STATUS'="No"
   )
) & 
" Report(s) not Impacted"

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

eka24
Super User III
Super User III

Use Char(10) Example:

"EEEEEEE RRRRRRRRR"&Char(10)&
"PPPPPPPPPPPPPPPPPPPPP NNNNNNNNNNNNNNNNNNN"&
Char(10)&"OOOOOOOOOOOOOOOOO AAAAAAAAAAA"
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Wow! It's worked. Appreciate for quick response 😀

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (46,820)