Hi @Anonymous ,
What day is the Start and End Dates for the current week on your understanding?
Is that Sunday is the Start Date and Saturday is the End Dates?
If yes, Please refer to screenshot below to create the flow:


the expression for the Start Date of this week is Compose:
if(equals(dayOfWeek(utcNow()),1),addDays(utcNow(),-1),if(equals(dayOfWeek(utcNow()),2),addDays(utcNow(),-2),if(equals(dayOfWeek(utcNow()),3),addDays(utcNow(),-3),if(equals(dayOfWeek(utcNow()),4),addDays(utcNow(),-4),if(equals(dayOfWeek(utcNow()),5),addDays(utcNow(),-5),if(equals(dayOfWeek(utcNow()),6),addDays(utcNow(),-6),if(equals(dayOfWeek(utcNow()),0),utcNow(),null)))))))
The expression for the End Date of this week is Compose 2:
if(equals(dayOfWeek(utcNow()),1),addDays(utcNow(),5),if(equals(dayOfWeek(utcNow()),2),addDays(utcNow(),4),if(equals(dayOfWeek(utcNow()),3),addDays(utcNow(),3),if(equals(dayOfWeek(utcNow()),4),addDays(utcNow(),2),if(equals(dayOfWeek(utcNow()),5),addDays(utcNow(),1),if(equals(dayOfWeek(utcNow()),6),addDays(utcNow(),0),if(equals(dayOfWeek(utcNow()),0),addDays(utcNow(),6),null)))))))
And you could format the date type with expression below Compose 3-Sart Date:
formatDateTime(outputs('Compose'),'yyyy-MM-dd')
And you could format the date type with expression below Compose 4-End Date:
formatDateTime(outputs('Compose_2'),'yyyy-MM-dd')
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.