The Odyssey
Registered User.
- Local time
- Today, 12:14
- Joined
- Jan 15, 2015
- Messages
- 34
I have a single expression that seems to be causing this error. At it's current state this is what it looks like:
This isn't the first time I have gotten this error. I initially had this expression:
This gave me the same error. So after searching online fixed the error using 'IIf':
As you can see I am using the exact same method here as I am in my other expression, so why is this different and how can I fix the code?
Thanks
Code:
IIf([Year_Total_T]=0,0,Sum(([Year_Total_A]-[Year_Total_T])/([Year_Total_T])))
This isn't the first time I have gotten this error. I initially had this expression:
Code:
Sum([Quarter3_A])/Sum([Quarter3_T]))
This gave me the same error. So after searching online fixed the error using 'IIf':
Code:
IIf([Quarter3_T]=0,Null,Sum([Quarter3_A])/Sum([Quarter3_T]))
As you can see I am using the exact same method here as I am in my other expression, so why is this different and how can I fix the code?
Thanks