Hello everyone,
I'm hoping someone can help me correct my code (which I know isn't done right). Here's what I'm trying to do.
What I'm tring to do is sum up the field "Clundquist". However, I only want it to sum that field if the current month (formatted date part in date_today) is equal to the crosstabs audit date (also datepart). I know I'm not doing this right, can anyone help me fix this code?
=IF DatePart("m",[date_today]=DatePart("m",[audit date]), Sum([Clundquist])))
I'm hoping someone can help me correct my code (which I know isn't done right). Here's what I'm trying to do.
What I'm tring to do is sum up the field "Clundquist". However, I only want it to sum that field if the current month (formatted date part in date_today) is equal to the crosstabs audit date (also datepart). I know I'm not doing this right, can anyone help me fix this code?
=IF DatePart("m",[date_today]=DatePart("m",[audit date]), Sum([Clundquist])))