G
gm6243 via AccessMonster.com
HI Friends,
I have a cross tab query as a source for my report. It calculates average
sales for mth1, mth2 & mth3 and calculates the % of mth0 ie mth0/avg of
mth1+mth2+mth3.
The property for the query has column headings mth1, mth2, mth3 & mth0.
i tried to add a column to the query to calculate the averages but when I run
the query it asks for parameter value mth0, mth1, mth2 & mth3.
I am not sure if I am doing something wrong. So I tried to add this filter to
the report on the report property
(nz([Mth0])-((nz([Mth1])+nz([Mth2])+nz([Mth3]))/3))/((nz([Mth1])+Nz([Mth2])
+Nz([Mth3]))/3) <-0.299
Now when I run the report it comes out with the error " that the function is
too complex and cannot be calculated". However when I take out the Nz, it
works fine, but eliminated all rows where the value of mth0 is blank.
can some one please assist. I will provide all information if I am not clear
above.
Thank you
Gmen
I have a cross tab query as a source for my report. It calculates average
sales for mth1, mth2 & mth3 and calculates the % of mth0 ie mth0/avg of
mth1+mth2+mth3.
The property for the query has column headings mth1, mth2, mth3 & mth0.
i tried to add a column to the query to calculate the averages but when I run
the query it asks for parameter value mth0, mth1, mth2 & mth3.
I am not sure if I am doing something wrong. So I tried to add this filter to
the report on the report property
(nz([Mth0])-((nz([Mth1])+nz([Mth2])+nz([Mth3]))/3))/((nz([Mth1])+Nz([Mth2])
+Nz([Mth3]))/3) <-0.299
Now when I run the report it comes out with the error " that the function is
too complex and cannot be calculated". However when I take out the Nz, it
works fine, but eliminated all rows where the value of mth0 is blank.
can some one please assist. I will provide all information if I am not clear
above.
Thank you
Gmen