Re: Create a recurrence Work flow by filtering excel based on month
When you use List Rows in a Table action in your Flow, you can use Filter Query to get start of month and end of month
STARTDATE = startOfMonth(utcNow())
You can get last day of month, as below:
1 - Add 1 month to utcNow()
2 - Get startOfMonth of new date
3 - Subtract 1 day from startOfMonth of new date
You can combine step 1-3 for LAST_DAY_OF_MONTH using:
subtractFromTime(startOfMonth(addToTime(utcNow(),1,'month')),1,'minute')
Finally, Filter Query as below:
YOURCOLUMN ge 'STARTDATE' and YOURCOLUMN le 'ENDDATE'
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.