<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18813"></HEAD>
<BODY>
<DIV><SPAN class=705194209-13082009><FONT color=#000080 size=2 
face="Lucida Sans">You need a calculated measure.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #000080 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> mondrian-bounces@pentaho.org 
  [mailto:mondrian-bounces@pentaho.org] <B>On Behalf Of </B>Saurabh 
  Nanda<BR><B>Sent:</B> Wednesday, August 12, 2009 11:59 PM<BR><B>To:</B> 
  mondrian@pentaho.org<BR><B>Subject:</B> [Mondrian] Measure spanning across two 
  rows in fact table<BR></FONT><BR></DIV>
  <DIV></DIV>Hi,<BR><BR>I'm trying to define a measure whose value is computed 
  by taking quantities across two rows in the fact table. How do I do it? Here's 
  what I'm trying to do:<BR><BR>Fact table fomat: | Date | URL | Page views | 
  Unique visitors | Session count |<BR>Required measure: Conversion for a given 
  date = number of unique visitors on confirmation URL (on that date) / number 
  of unique visitors on search URL (on that date) x 
  100<BR><BR>Thanks,<BR>Saurabh.<BR>-- <BR><A 
  href="http://nandz.blogspot.com">http://nandz.blogspot.com</A><BR><A 
  href="http://foodieforlife.blogspot.com">http://foodieforlife.blogspot.com</A><BR></BLOCKQUOTE></BODY></HTML>