cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BigStev
Helper II
Helper II

How to filter SharePoint after you got the list.

Good Day All!!!!

I need some help please any.

I'm trying to filter a SharePoint List, I have already used the (Get Items) filter to pull the items in the SharePoint list I want.

Now I want to filter it more by only pulling the Column Name and the Value of that Column if it is 'eq' to No.

And then put the Column and the value 'No' into a table so I can send it in a email.

 

If anyone can help me please. If more information is needed please let me know.

Happy Flowing!!!!

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@BigStev 

Please see my example below.  As suggested by @rsaikrishna I am using a filter query.  I am filtering on a yes/no column.  They evaluate to true or false.  Please note the single quotes in the filter query.  Also, when referencing a column in the filter query, you need to use the columns internal name which may be different the the display name (the name you see).  I assume that you want a single email - that's why I use the create HTML table action.  Please let me know if you have additional questions.

 

FilterEmail1.jpgFilterEmail2.jpg 

FilterEmail3.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

4 REPLIES 4
rsaikrishna
Community Champion
Community Champion

@BigStev 

 

In the SharePoint list, create a view with desired columns. Then, in the Power Automate's Get Items action, you can select the view name in "Limit Columns by View" field. This will restrict the columns to the view.

 

Also, in the Filter Query, you can mention filter

<Column Name>  eq 'No'

 

Give a try and post your questions here.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
ScottShearer
Super User
Super User

@BigStev 

Please see my example below.  As suggested by @rsaikrishna I am using a filter query.  I am filtering on a yes/no column.  They evaluate to true or false.  Please note the single quotes in the filter query.  Also, when referencing a column in the filter query, you need to use the columns internal name which may be different the the display name (the name you see).  I assume that you want a single email - that's why I use the create HTML table action.  Please let me know if you have additional questions.

 

FilterEmail1.jpgFilterEmail2.jpg 

FilterEmail3.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hi thank you for getting back to me so fast. 

This is what my Flow demo looks like and my SharePoint list.

Screenshot 2020-07-14 17.06.01_LI.jpg

 

Screenshot 2020-07-14 17.07.22.png

 

As you can see in the flow that I have already filtered which works to get the right items, but I would like to tack out only the column name that has a item value of No. And place the column name and value into a table like you did in your solution.

 

Pease can you go through the pictures and if anymore information is need please let me know.

Thank you for all your help!!!!

 

Hi  @ScottShearer 

Thank you for your soliton but it only helps one part of the problem in.

I have replied to the message that you sent me earlier today. I have add pictures and hope that helps explan my problem a bit better.

 

Thanks for the help.

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,101)