Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there a smart way of counting the number of Tuesdays there are between 2 dates ?
Thanks
You may apply it in this way:
count({< [Weekday] = {2}>} [Date])
whereby weekday must exists as a native field within the data-model which is usually the case by using a master-calendar.
- Marcus
Hi
this expression should work for you
=sum(if(weekday(dateField)=2,1,0))
You need to replace "dateField" with your actual date field.
Thank you.
I guess I can use set analysis to define the date range I'm interested in ?
You may apply it in this way:
count({< [Weekday] = {2}>} [Date])
whereby weekday must exists as a native field within the data-model which is usually the case by using a master-calendar.
- Marcus