Hello experts,
Does anyone knows how to write the formula for OData Filter Query that can filter multiples column based on one "Created By"?
I am creating a Flow from a List that have "Date" and "Hours" as multiple entries for each person. My trigger starts from PowerApps (which from the submit button in PowerApps) and follow by Get Items in SharePoint. My List appears as attached picture.
Example:
Joe Adam data should only read the dates under his name and hours with respect to the date.
PS: i had to convert the date in "daysofWeek" formula since i need to make a weekly variables loop.
Right now my flow is not differentiating any "created by" and "date", thus all the "hours" were added up together if the day of the week is the same.
Appreciate your help and guide in this... thank you in advance..
Hi @Siti ,
This is the expected result, PowerApps trigger will automatically generate Dynamic content according to the parameters required by the action, but the value of these Dynamic content comes from PowerApps.
You need to assign values to these fields in PowerApps. Please check this online doc and get more details about it:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows
You can try to make an example of Flow and PowerApps integration based on the documentation.
Best Regards,
Thank you for the helpful links. I've tried to create the OData Filter Query in my "Get Items - Sharepoint" actions but i still came to dead end, my flow keep on failing.
My trigger starts with "Powerapps", and follow by "Get Items - SharePoint". As in my picture, my dynamic content is so limited. I only have:
Getitems_FilterQuery
Sendanemail_To
Ask in PowerApps
Can you please help me to write the correct filter query equation. I need to filter "created by" from Sharepoint List and select data only on certain days.
Thank you in advance.
Hi @Siti ,
Please refer to the following articles to learn more about the use of Filter Query:
https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/
You need to use and to combine multiple filters. For Created by field, if you want to rely on user email to filter, please refer to the formula below.
Author/EMail eq 'emailaddress'
Also in Filter Query, we can't use a function to format a field.
Best Regards,