Power Automate - SharePoint Get Items - Filter
Technical article about Power Automate - SharePoint Get Items - Filter
Technical article about Power Automate - SharePoint Get Items - Filter
With this article I want to explain how we can get items with Power Automate (From SharePoint Online) and Filter them.
We have:
Excel file where we save filtered items. I create and Excel file with same column of list, and store it in OneDrive. Keep mind, you must format sheet as a Table if you want to use it in Power Automate to add rows.
Power Automate flow who get data and put it into Excel File. I used “Get Items” connector to retrieve data from SharePoint list.
We can get data with no query. In this case, you mus put only “Site Adress” and “List Name Parameters”…keep mind “Top Count” parameter and it returs “All” items. I do not suggest this approach (And also Power Automate, who show you a Warning :-) )
Best approach, is write a Filter Query to retrieve only items you need. Basically you should write a formula like this: fieldname operation value.
We can use also logical operator like “and” and “or”
Let’s see some example (I show query and result on Excel sheet):
Result:
Result:
You can also use functions for your filter query.
The syntax is: functions(fieldName, value)
An Example:
Result:
I hope it help you