K
Kamil
Hi.
I'm using a query:
SELECT BOM, EMAILS, Count(IIf([date]=Date(),[adalnm],Null)) AS Today,
Count(IIf([date]=Date()-1,[adalnm],Null)) AS Yesterday
FROM T_BOM
GROUP BY BOM, EMAILS;
For counting all rows for today and yesterday. Is it possible to
replace the yesterday formula by PreviousDay formula?
Purpose: In my table there's data for all workdays, w/o weekends. So
on Monday the yesterday shows me 0. Instead it I'd like to see last
date which is filled with some data (picking Friday in case of Monday
is not the solution because of holidays)
Please advice,
Best regards,
Kamil
I'm using a query:
SELECT BOM, EMAILS, Count(IIf([date]=Date(),[adalnm],Null)) AS Today,
Count(IIf([date]=Date()-1,[adalnm],Null)) AS Yesterday
FROM T_BOM
GROUP BY BOM, EMAILS;
For counting all rows for today and yesterday. Is it possible to
replace the yesterday formula by PreviousDay formula?
Purpose: In my table there's data for all workdays, w/o weekends. So
on Monday the yesterday shows me 0. Instead it I'd like to see last
date which is filled with some data (picking Friday in case of Monday
is not the solution because of holidays)
Please advice,
Best regards,
Kamil