cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

View solution in original post

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.

View solution in original post

mterry
Level: Powered On

Re: Trouble selecting columns when creating HTML table to email

Worked perfectly, thanks for the help

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (6,124)