Measure calculation question
- From: "Immy" <imtiaz_ullah@xxxxxxxxxxx>
- Date: Mon, 14 Nov 2005 11:39:56 -0000
Hi all,
I am trying to perform a calculation which is causing me a headache because
I can't write MDX! :( - any help would be appreciated here.
Basically, I have the following scenario of data:
Date Product Value Qty1 Qty2
1/1/05 ProductA £10 2 100
1/1/05 ProductB £15 5 100
1/1/05 ProductC £5 4 100
1/1/05 ProductD £30 7 100
1/1/05 ProductE £40 5 100
2/1/05 ProductA £10 2 250
2/1/05 ProductB £15 5 250
2/1/05 ProductC £5 4 250
2/1/05 ProductD £30 7 250
2/1/05 ProductE £40 5 250
3/1/05 ProductA £10 2 500
3/1/05 ProductB £15 5 500
3/1/05 ProductC £5 4 500
3/1/05 ProductD £30 7 500
3/1/05 ProductE £40 5 500
I want to be able to perform the sum value/Qty2, but i only want to perfom
the division on one of the Qty2 values, plus, when i aggregate, I dont want
the values to sum, i.e. producing a value of 500 for the data for 1/1/05. It
should remain as 500 at any level of slicing and the 'Value' should always
perform the calcualtion at any level of a dimension.
Does this make sense? Sorry for the bad explanation, but i am new to AS and
have been reall thrown in at the deep end as apparently DBA's should know
everything! :)
Any help is appreciated.
Regards
Immy
.
- Follow-Ups:
- Re: Measure calculation question
- From: Darren Gosbell
- Re: Measure calculation question
- Prev by Date: RE: Default Measure of a Cube (AS2K vs. SSAS)
- Next by Date: Cubes fact table as 85000 rows but processing reads millions of records
- Previous by thread: Summary and Detail links
- Next by thread: Re: Measure calculation question
- Index(es):
Relevant Pages
|