Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am using the below set analysis for WTD calculation:
sum({$<[Process Date]={">=$(=WeekStart(Max([Process Date]))) <=$(=Max([Process Date]))"}>}[Sales Posting Amount USD])
But now I have to calculate Previous Week's(But not previous Year's WTD, so if it 4th week of year, I need 3rd weeks WTD) WTD and please give me the set analysis for that.
Thanks,
Sandip
May be this
Sum({$<[Process Date]={">=$(=WeekStart(Max([Process Date]), -1)) <=$(=Date(Max([Process Date])-7))"}>}[Sales Posting Amount USD])
Hi,
may be
WeekStart(Max(Date),-1)
WeekEnd(Max(Date),-1)
Regards,
Antonio
Hi
Create a Calendar and use set Analysis to define all metrics based on the calendar filter.
if you are in the middle of the week and you want to compare with previous week then you have to compare number of days passed in the current week with same number of days of last week in order to have an equal comparative.
Thanks @sunny_talwar your formula helped for me
I really appreciate it boss i was trying such calculations from yesterday 11 am
thanks thank u it helped
i want week 1 current week 2 prev week3 prev week 4 prev in set analsyis
how we can achieve this
i will create the master calendar under that week connect with date date column table and then i can apply in set analysis