Hi
Im wondering if someone can help me with the following flow.
I have a table that i need to filer based on the month paid for example "Sep-19".
The table looks like this and im trying to filter colum H:H.
My flow looks like this using expression
:-
But i seem to be getting the following error.
Solved! Go to Solution.
Hi @Barber_Chris ,
Please take a try with "Filter array" action instead of using the "Filter Query" field in the action.
@equals(item()?['Paid Month'], '43727')
@equals(formatDateTime(addDays('1900-01-01T00:00:00Z', sub(int(item()?['Paid Month']), 2)), 'yyyy-MM'), '2019-09')
And the DateTime Sep-19 in flow would be string 43727, you could refer to link below for learning more details and solutions:
https://powerusers.microsoft.com/t5/Building-Flows/Excel-Online-Date/td-p/134200
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the filter query, you can type
Paid_x0020_Month eq 'expression' and check if it works. if not, try:
PaidMonth eq 'expression'.
Following your other post: https://powerusers.microsoft.com/t5/Building-Flows/Filter-Query-with-Excel/m-p/370347#M41548
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @Barber_Chris ,
Please take a try with "Filter array" action instead of using the "Filter Query" field in the action.
@equals(item()?['Paid Month'], '43727')
@equals(formatDateTime(addDays('1900-01-01T00:00:00Z', sub(int(item()?['Paid Month']), 2)), 'yyyy-MM'), '2019-09')
And the DateTime Sep-19 in flow would be string 43727, you could refer to link below for learning more details and solutions:
https://powerusers.microsoft.com/t5/Building-Flows/Excel-Online-Date/td-p/134200
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.