Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a date column list all date of a year and I have a column marks each date is working day or not. I would like to make a filter to select first x working day of each month, is this doable?
New Attachment (TOTAL Corrected)
May be like this
LastWorkDate(MonthStart(Max(Date)), 1)
What I try to establish is I can input value 10 and then first 10 working day of each month are selected. so all other data are calculated automatically.
Do you have a sample you can share?
Here is the sample.
Right now I can select workingDay "Y" to calculate working day sales of each month.
but what I want to achieve is to calculate sales$ of first X working day of each month.
posted
Try this
Sum(Aggr(If(Date <= LastWorkDate(MonthStart(Max(TOTAL <Month> Date)), vFirstNWorkingDays), SALES$), Month, Date))
Or this
Sum({<WorkingDay = {'Y'}>}Aggr(If(Date <= LastWorkDate(MonthStart(Max(TOTAL <Month> Date)), vFirstNWorkingDays), SALES$), Month, Date))
Hi Adam,
see Attachment.
I assume x = 10
Regards,
Antonio
New Attachment (TOTAL Corrected)
Antonio,
Your sample is helpful!!