cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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

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
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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (48,102)