Forum Discussion
Measure Updates After Scheduled Refresh
I have scheduled refresh setup for one of my reports.
One of the measures, that helps calculate revenue for the current week, auto-updates at the end of the week on Friday.
I use the following formula to calculate revenue based on the current week:
1 Reply
- amitchandakSuper User
rashmij9 , with help from week start date create a column like this and save it on this week
Week Type = Switch( True(),
[start week]<=Today() && [end date]>=Today(),"This Week" ,
[start week]<=Today()-7 && [end date]>=Today()-7,"Last Week" ,
[Week Name]
)refer week start and end
https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Power-BI-Turning/ba-p/1187482
https://medium.com/chandakamit/cheat-sheet-any-weekdays-week-start-date-just-one-variable-apart-6b2e6f593958