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!

need to create a metric which generates a arithmetic progrssion

Status
Not open for further replies.

arjunravi

Technical User
May 26, 2005
3
US
Hi,

I need to create a metric whic would gnerate values 0,5,10,15,20....100.I tried the running sum but the 1st value shud be 0.
Also need to create a metric whose values are 0,100,100,100...i.e 0 followed by 100 for the rst of the rows.


Any suggestions wud be helpful.


thanks
 
The running sum should be okay just need to minus 5 on all numbers. You 2nd request could be a CASE or If statement with a running sum compare to original metric if the same then 0 else 100.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top