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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with MDX query !!

Status
Not open for further replies.

niraj2000

Programmer
Aug 1, 2001
7
0
0
US
For example consider following table:

product price (calculated measure)
A 2 2
B 3 2+3=5
C 1 5+1=6
D 3 6+3=9
E 1 1+9=10


I want to create a calculated measure which does the above summations ? I want to add the value of previous row to current row and so on. Is there a prev function for example i can write as

measures.[price] + measures.prev.[price]

Please help !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top