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 / Different font type in...
Power Apps
Answered

Different font type in a same label

(0) ShareShare
ReportReport
Posted on by

Hi all, 

In my Order Summary SPL, I have a column named Remarks that has two values: Yes and No. I have a text label to display these values, however, to differentiate between these two values, I would like to have different font types for each. Is that possible to have that styling in Power Apps? If so, where or how should I start?

This is the current code inside Text property : 

If(
 "Yes/Ya" in ThisItem.Remarks,
 "Tools return: " & "Yes"
) & If(
 "No/Tidak" in ThisItem.Remarks,
 "Tools return: " & "No"
)

Thank you.

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Anonymous,

     

    Yes, this is possible. On the Font property the Text Label use this formula: 

    If(Toggle1.Value = true, Font.Arial, Font.'Open Sans')

     

    I have just used a toggle control as an example, you would need to change this to suit your situation.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @Anonymous ,

    You can set both the Font and the Size conditionally on the outcome of any formula - you can also set FontWeight, Italic and Underline the same way.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    on at

    @AARON_C @WarrenBelz 

    I configured this on both Text and Font properties but to no avail:

    If(
     "Yes/Ya" in ThisItem.Remarks,
     "Tools return: " & "Yes",
     Font.'Lato Black',
     Font.'Lato'
    ) & If(
     "No/Tidak" in ThisItem.Remarks,
     "Tools return: " & "No",
     Font.Lato,
     Font.'Lato Black'
    )

     

  • Verified answer
    WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    @Anonymous ,

    In the Text

    "Tools return: " &
    If(
     "Yes/Ya" in ThisItem.Remarks,
     "Yes",
     "No"
    )

    In the Font

    If(
     "Yes/Ya" in ThisItem.Remarks,
     Font.'Lato Black',
     Font.'Lato'
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Verified answer
    AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Anonymous,

     

    Try this for the Text property:

     

    If(
     "Yes/Ya" in ThisItem.Remarks,
     "Tools return: Yes",
     "Tools return: No"
    )

     

     

    Try this on the Font property:

     

    If(Self.Text = "Yes/Ya", Font.'Lato Black', Font.'Lato')

     

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Community Power Platform Member Profile Picture
    on at

    @WarrenBelz 

    It's like an indicator.

    AmiraRoslan_0-1697771768244.png

     

  • Community Power Platform Member Profile Picture
    on at

    @AARON_C 

    It's not working as well.

  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    @Anonymous ,

    Please see amended post - I did not realise you had combined the two - also please tag whoever you want to respond here as three-way conversations do not help anyone.

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @Anonymous 

     

    Can you please send some screen shots of both the Text and Font properties and also any errors showing.

  • Community Power Platform Member Profile Picture
    on at

    @WarrenBelz 

    I just try it, it works. I understand the syntax on how to manipulate it now. Thank you. 

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