hansdebadde
Technical User
I have report that charts the number of people per days in length. I am using CR 2008 with the data in a SQL server. The length is calculated using
{@length}=totext(int((sum({DAYS},{NUMBER})-1)/5)*5 + 5,"000")
NUMBER is a unique identifier for each person
DAYS is the number of Days that must be summed
The Y axis is a distinct count of NUMBER
the X axis is @length
The report only includes this graph and i would be okay with using a sql command to pull in the data if i could calculate length in it.
I want to be able to select a range of length but i can't do that because I can't use the calculated value in the select expert. Can this be done or is there an easier way?
{@length}=totext(int((sum({DAYS},{NUMBER})-1)/5)*5 + 5,"000")
NUMBER is a unique identifier for each person
DAYS is the number of Days that must be summed
The Y axis is a distinct count of NUMBER
the X axis is @length
The report only includes this graph and i would be okay with using a sql command to pull in the data if i could calculate length in it.
I want to be able to select a range of length but i can't do that because I can't use the calculated value in the select expert. Can this be done or is there an easier way?