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 / HOW TO NOT SHOW A SPEC...
Power Apps
Answered

HOW TO NOT SHOW A SPECIFIC DATA INSIDE A HTML TEXT WHEN IS BLANK...

(0) ShareShare
ReportReport
Posted on by

Hey guys, I need to not show data when a row is blank inside an HTML text...

 

 

Like this: 

 

IFISBLANKHTML.png

<td style='width: 213px;'>" & "$ " & If(IsBlank("-";'Resumo Transporte Total')) &"</td>

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

     

    Try to change your formula to the following:

    ... "$ " & Coalesce('Resumo Transporte Total'; "-") & "</td>" ...

     

    I hope this is helpful for you.

  • Gorilla_8 Profile Picture
    on at

    @RandyHayes Thanks for the reply! 

     

    But the PowerApps says "The 'Coalesce' function has some invalid arguments"

     

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    Which argument is it complaining about?  You can put your pointer over each for more detailed information.

     

  • Gorilla_8 Profile Picture
    on at

    All the function

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    It should give more specifics on the issue, but anyway...

     

    What is 'Resumo Transporte Total'?

    What context is this Html control in?  A gallery, a Screen, a Form?

  • Gorilla_8 Profile Picture
    on at

    A gallery data...

     

    IFISBLANKHTML.png

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    If 'Resumo Transporte Total' is in AllItems of the Gallery and it is a text field, then the formula provided - Coalesce('Resumo Transporte Total', "-")  - should work just fine.

    If you take all the logic out and just put 'Resumo Transporte Total' in your Concat function/Html builder, do you get the results?  (i.e. take out your original If function and my Coalesce function and just put the field name in)

  • Gorilla_8 Profile Picture
    on at

    Yes, I get the item on HTML editor, but I wanna show a "-" if is blank or not show the field.

     

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Gorilla_8 

    Yep, Coalesce will do the trick.

    Are we having a comma vs semicolon issue?  I was reviewing your original posting and noticed you are using semicolon separation in your formulas...If that is the case, then my formula to you should have been:

    Coalesce('Resumo Transporte Total'; "-")

  • Gorilla_8 Profile Picture
    on at

    Yes, I use ";", didn't work out...

    IFISBLANKHTML.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard