cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jpacettf
Level 8

Formatting Blank AND SHOWING Column Values in the HTML Table

I have read a few posts on this but I can't seem to apply any of the solutions to my Flow.

Capture.PNG

 

 

 

 

 

 

 

 

 

 

As it is pulling multiple records, the same field may contain  data in one record and no data in another.
Capture.PNG

 

Not all the values in my Select/Create HTML Table, will be filled in some will be blankCapture.PNG

 

 

 

 

 

 

 

 

 

 

 

If the value is blank, the flow fails and tells me that, that particular column does not exist.

 

How do I get around this issue?

 

I would like my email to still display any blank data, as blank:

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Formatting Blank AND SHOWING Column Values in the HTML Table

Hi @jpacettf,

 

You could take a try with expression if().

 

As my screenshot below:

Capture.PNG

The expression for Title column should as below:

if(empty(item()?['Title']),null,item()?['Title'])

Or as below:

if(empty(item()?['Title']),'none',item()?['Title'])

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
jpacettf
Level 8

Re: Formatting Blank AND SHOWING Column Values in the HTML Table

It seems like I need a condition that says:

 

If "Column A" is blank, then show text that says "none" or even better a space ""

 

Or is that way too simple for SharePoint?

Community Support Team
Community Support Team

Re: Formatting Blank AND SHOWING Column Values in the HTML Table

Hi @jpacettf,

 

You could take a try with expression if().

 

As my screenshot below:

Capture.PNG

The expression for Title column should as below:

if(empty(item()?['Title']),null,item()?['Title'])

Or as below:

if(empty(item()?['Title']),'none',item()?['Title'])

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

jpacettf
Level 8

Re: Formatting Blank AND SHOWING Column Values in the HTML Table

@v-yuazh-msft I can't believe it was that simple, thank you so much works perfectly Smiley Happy

jpacettf
Level 8

Re: Formatting Blank AND SHOWING Column Values in the HTML Table

@v-yuazh-msft Although I am now having trouble formatting the date field so that it is readable. I have tried the below:

Capture.PNG

 

 

 

 

 

 

 

But it comes up with the error: 

Capture.PNG

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 211 members 3,269 guests
Please welcome our newest community members: