Eric58132
09-17-2010, 08:25 AM
Hello, easy one here (I think)
I have data that is formatted like this:
March 2010 NULL
March 2010 10
March 2010 0
in a query. With Totals selected, I'm trying to find an average of values, while grouping by the Month/Year. In this instance, I want to ignore the NULL, and bring an average of 5. My suspicion is that I need to create an expression to remove the NULL values, making them blank. I have tried
Expr2: IIf([CoachingEffectiveness]="NULL","",[CoachingEffectiveness])
but am met with a data type mismatch. Am I on the right track here, but have poor formatting, or do I need to try something else?
I have data that is formatted like this:
March 2010 NULL
March 2010 10
March 2010 0
in a query. With Totals selected, I'm trying to find an average of values, while grouping by the Month/Year. In this instance, I want to ignore the NULL, and bring an average of 5. My suspicion is that I need to create an expression to remove the NULL values, making them blank. I have tried
Expr2: IIf([CoachingEffectiveness]="NULL","",[CoachingEffectiveness])
but am met with a data type mismatch. Am I on the right track here, but have poor formatting, or do I need to try something else?