PhantomEric
Technical User
Hi,
I want to add two columns in a calculated member.
The rows have two levels, then column by month.
0 = Master GL Account (i.e. 410000)
1 = GL Account name
(I.e. 410100-10-10-Domestoic Sales Revenue
410200-10-10-Overseas Sales Revenue
............-etc.)
My data comes from a stored procedure.
I want to SUM two or more, non-consecutive, selected rows (GL Account Name).
My problem is rather then find the grid value, of each row, using the full GL Account Name(see above "410100-10-10-Domestoic Sales Revenue") I want to find the row by the LEFT 6 characters (i.e. 410100 ONLY, it is unique) this is because the GL name changes depending of selection criteria.
I could use, but the first 6 character remain the same.
I could use:
GridValueAt (currentRowIndex-?,currentCloumnIndex,CurrentSummaryIndex)
where? = number of row too offset.
But, over time there will be GL Account Names added to the report and the report would fail when one new account was added.
Is there a way to write the GridValueAt using a statement that looks at only the LEFT 6 characters?
Any assistance would be greatly appreciated,
Eric
I want to add two columns in a calculated member.
The rows have two levels, then column by month.
0 = Master GL Account (i.e. 410000)
1 = GL Account name
(I.e. 410100-10-10-Domestoic Sales Revenue
410200-10-10-Overseas Sales Revenue
............-etc.)
My data comes from a stored procedure.
I want to SUM two or more, non-consecutive, selected rows (GL Account Name).
My problem is rather then find the grid value, of each row, using the full GL Account Name(see above "410100-10-10-Domestoic Sales Revenue") I want to find the row by the LEFT 6 characters (i.e. 410100 ONLY, it is unique) this is because the GL name changes depending of selection criteria.
I could use, but the first 6 character remain the same.
I could use:
GridValueAt (currentRowIndex-?,currentCloumnIndex,CurrentSummaryIndex)
where? = number of row too offset.
But, over time there will be GL Account Names added to the report and the report would fail when one new account was added.
Is there a way to write the GridValueAt using a statement that looks at only the LEFT 6 characters?
Any assistance would be greatly appreciated,
Eric