cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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
Highlighted
Community Support
Community Support

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
Highlighted
Resolver I
Resolver I

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?

Highlighted
Community Support
Community Support

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

Highlighted
Resolver I
Resolver I

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 🙂

Highlighted
Resolver I
Resolver I

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (6,275)