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 Automate / Show/Hide empty values...
Power Automate
Unanswered

Show/Hide empty values in HTML Table Conditionally

(0) ShareShare
ReportReport
Posted on by 80

I have a requirement to generate a document from an intake form using PowerApps which is connected to the Dataverse.  I am able to do this, however, they added the request to only show fields that have a value.  Initially I was going to use a Word Template but I do not think it's possible to conditionally show fields if they are blank in MS Word.

 

Instead, I will be using an HTML table.  Is it possible to dynamically check if a field is blank for each column in the record, and hide or show that field in the HTML table with an apply to each action?  The form is super duper long, so I am really dreading having to compose an action for each of the conditional fields.

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    If the form is too long, adding an HTML table is not a good idea.

    Can you not build a PowerApps screen with a Data table and provide a link to the screen in your flow notification?

     

  • illmatic_one Profile Picture
    80 on at

    No.  The user wants a document which has a cable that is emailed to the user as they need to copy these answers.  Additionally, the form is over eight pages with each page representing a form section.  They are routed to specific sections based on answers in other sections, and throughout the sections there are some fields that are skipped over/hidden as well.

     

    Also, this is a form of questions, not necessarily simple data.  They are long-winded questions with long-winded answers and all of the above needs to be captured so I can't really do a data table.  It will be a table of two columns with table headers for each section [and even this isn't in the actual format that they want.  They prefer row based versus column based display].

     

    I could possibly get away with a form screen, but as far as I know, PowerApps does not have any function that checks if the entire Form is empty.  Instead, it checks if specific fields are blank and even when you use this feature you have to have turned on the 'Required' property.  [Some forms are skipped entirely based on previous choices in a different section].

     

    So, is it possible to show/hide fields conditionally in an HTML table?

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard