cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mterry
Level: Powered On

Trouble selecting columns when creating HTML table to email

I have a flow that successfully gets rows from a table and emails the information out. The issue I'm having is that I can't limit the columns that are being included in the email - I don't want all info to be sent out. I've tried using Select from Data Operations, but that automatically adds a For Each Container, and while it does limit the email to the correct columns, it ends up ignoring the filter criteria, and duplicates a single line multiple times. Any help would be appreciated, below is what I have thus far. flow1.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Trouble selecting columns when creating HTML table to email

Hi @mterry,

 

You could configure Custom columns in the Create Html table and select the column you want to display in the table.

Then use item()[‘ColumnName’] to get the value of the corresponding column.

Note: If the column name contains spaces, you need to replace the space with "_x0020_".

Like: item()[‘Column_x0020_Name’]

Image reference:

13.PNG

Regards,

Barry

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

Re: Trouble selecting columns when creating HTML table to email

Hi @mterry,

 

You could configure Custom columns in the Create Html table and select the column you want to display in the table.

Then use item()[‘ColumnName’] to get the value of the corresponding column.

Note: If the column name contains spaces, you need to replace the space with "_x0020_".

Like: item()[‘Column_x0020_Name’]

Image reference:

13.PNG

Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mterry
Level: Powered On

Re: Trouble selecting columns when creating HTML table to email

Worked perfectly, thanks for the help

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us 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: 115 members 4,448 guests
Please welcome our newest community members: