Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dimension * Measure

Status
Not open for further replies.

ajmcgarry

Programmer
Nov 13, 2001
7
US
I am trying to multiply a Dimension <DailyRateForEmp> by a Measure <Hour> in a crosstab body. All I get though is a #COMPUTATION or a #IERR.

The Measure works fine by itself and both are definately numeric.

The formula =Sum(<Hour>*<DailyRateForEmp>/8) works correctly in the Total columns to the right and bottom of the Body section but the formula =<Hour>*<DailyRateForEmp>/8 doesn't.

Any ideas?
 
Hello ajmc garry,

Just create a new variable in the report as being &quot;=<dimension>&quot; and with &quot;Measure&quot; qualification.
Use this new variable in you formula's
 
cdekoning

That's not too bad but it presents another problem in that it's defeating the purpose of a measure. And by making what should be a dimension a measure causes the totals in the sum row and columns to go exponential.
It will cause it to do this

<Variable>*<Measure>*<Number of records for given dimension variable>
 
I solved the origonal problem by creating a hidden column containing the dimension.

Thanks anyways cdekoning.

Further input still welcome.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top