dlazarus66
IS-IT--Management
Formula function: I am working with a manual crosstab. I need a formula to say, "if date = Monday", show me a distinct count of "x" just for Monday. I have various selections taking place so I'm unable to use //{@Monday}:
if dayofweek({Date}) = 2 then 1.
I need to take that day of Monday and do a Distinct count just for that day. I tried using the DistinctCount (f1,f2,s) and put Monday for the s, but it's rejected. I created a formula just for Monday then did "Distinctcount ({qryActionsLinkedToJobs.ActionJobPKID}, {@Monday})", but it gives me a count for the entire week, and not just Monday. Any help would be much appreciated.
if dayofweek({Date}) = 2 then 1.
I need to take that day of Monday and do a Distinct count just for that day. I tried using the DistinctCount (f1,f2,s) and put Monday for the s, but it's rejected. I created a formula just for Monday then did "Distinctcount ({qryActionsLinkedToJobs.ActionJobPKID}, {@Monday})", but it gives me a count for the entire week, and not just Monday. Any help would be much appreciated.