cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mterry Helper I
Helper I

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

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

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 Helper I
Helper I

Re: Trouble selecting columns when creating HTML table to email

Worked perfectly, thanks for the help

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: 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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,044)