Durango122
MIS
Hello All
cr 9.0
ms sql
i have this report and has 3 rank
my main report has this gr1 call {terri.definition}
and have 2 sub report i used to rank the YTD and
TYD PER REP RANK
to get the last part i created this formula
----------------------------------------
@YTD_SLS_PER_REP
if
{TRANSACTION_HISTORY.POSTING_DATE} in Date(year({?sub2_End_Date}),1,1) to
Date(Year({?sub2_End_Date}),Month({?sub2_End_Date}),day({?sub2_End_Date}))
and
{TRANSACTION_HISTORY.TRADE_CLASS} = "S
then
sum({TRANSACTION_HISTORY.GROSS_AMOUNT})/{#Rep_Count
else
0
--------------------------------
i get right result but can get the group number to rank desc
i get this error
"A summary has been on a non-recurring field
detail: @YTD_SLS_PER_REP
here is how report looks like now
terri def WEEK SLS YTD SLS WEEK RNK YTDRNK YTD SLS PER REP
FSB-01 5000 1000 1 3
fsb-06 100 500 2 5
i have previous thread 149-1338203 and done what was suggested but it's my last rank i have problem
YTD RNK is a sub report
YTD SLS PER REP is a sub report
thanks
Durango122
if it moves and should not used Duck Tape
if does not move and should used WD-40
cr 9.0
ms sql
i have this report and has 3 rank
my main report has this gr1 call {terri.definition}
and have 2 sub report i used to rank the YTD and
TYD PER REP RANK
to get the last part i created this formula
----------------------------------------
@YTD_SLS_PER_REP
if
{TRANSACTION_HISTORY.POSTING_DATE} in Date(year({?sub2_End_Date}),1,1) to
Date(Year({?sub2_End_Date}),Month({?sub2_End_Date}),day({?sub2_End_Date}))
and
{TRANSACTION_HISTORY.TRADE_CLASS} = "S
then
sum({TRANSACTION_HISTORY.GROSS_AMOUNT})/{#Rep_Count
else
0
--------------------------------
i get right result but can get the group number to rank desc
i get this error
"A summary has been on a non-recurring field
detail: @YTD_SLS_PER_REP
here is how report looks like now
terri def WEEK SLS YTD SLS WEEK RNK YTDRNK YTD SLS PER REP
FSB-01 5000 1000 1 3
fsb-06 100 500 2 5
i have previous thread 149-1338203 and done what was suggested but it's my last rank i have problem
YTD RNK is a sub report
YTD SLS PER REP is a sub report
thanks
Durango122
if it moves and should not used Duck Tape
if does not move and should used WD-40