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!

Rated Average (MSTR Report)

Status
Not open for further replies.

cabs

Programmer
Sep 6, 2001
15
CL
I need to calculate the rated average as example...

date calls duration dur/calls (calls/total*dur/calls)
01-01-2003 750 1125 1,500 0,342
02-01-2003 405 689 1,700 0,209
03-01-2003 946 1325 1,400 0,403
04-01-2003 400 481 1,200 0,146
05-01-2003 330 544 1,650 0,165
06-01-2003 457 615 1,345 0,187
Simple AVG 3289 796 1,466 1,453
Rated AVG 1,453

I need to show 1,453 in Average Section... but I cant find and option in the total options.. to do this...
Thanks...
 
cabs -

This is a problem with the smart metric setting in the subtotals/aggregation tab in the metric editor. You are trying to get the totalling for the dur/calls Simple AVG to differ from the Rated AVG total in the same report...

Columns 3 and 4 are the same calculation essentially, where column for is the total, and column three (dur/calls) has the 'smart' processing turned off. Make dur/calls 'smart' and you will get the anser column 4 gives.

Smart totals on: sum(m1) / sum(m2)
Smart totals off: sum(m1/m2)

To get the format of the report you have to create a custom defined total. Even with a custom total, the logic of the metric can't change just because the aggregation (sum, avg, etc.) needs to be different.

Basically, I think the question is: how can you make the totalling logic different in a custom defined total versus standard totalling ?

I don't think it can be done in this layout. It could certainly be done with XSL, but that probably isn't practical. The best thing to do is to have two metrics...one that is 'smart' and one that isn't.

Good luck.

Chael
 
Thanks Chael....

Rigth, the question an the problem is : how can you make the totalling logic different in a custom defined total versus standard totalling ?

If somebody have a new idea, I'm waiting.....

Bye..
 
One of our consultants had the exact same requirement. There's a supported way to do it but it is not exposed thru the desktop product. We worked it out through the SDK with a MSTR consultant.

Cabs, you need to contact your MSTR production consultant and have him/her search thru their internal knowledgebase. There's an article titled something like "using a metric as a subtotal for another metric" Sorry I can't remember it exactly.

good luck
 
Actually handle REISW might know more about this...
 
nlim,

sorry but I don't think I know about this,(unless I forgot) but if anyone finds out how to do it I would be interested in it as well.

reisw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top