Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
I have the following Scenario ...
if(Year(tmp_Date)=WeekYear(tmp_Date), Week(tmp_Date) - Week(MonthStart(tmp_Date)) + 1, Week(tmp_Date) + 52 - Week(MonthStart(tmp_Date)) + 1) AS [Week in Month],
How can i delete Negative Months in master calendar.
Thanks
Madhu
Try this
if(Year(tmp_Date)=WeekYear(tmp_Date), Week(tmp_Date) - Week(MonthStart(tmp_Date)) + 1, Week(tmp_Date) - Week(MonthStart(tmp_Date)) + 1) AS [Week in Month],