![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| With Member [Measures].[ProductTaxRate] as |
#3
| |||
| |||
|
|
Hi, I've had this problem in OLAP for 3 weeks now, and I haven't found a solution for it yet. I have the following 5 Dimensions: Line, Product, Store, Reporting Centre, and Legal Entity. Every Product belongs to a Reporting Centre, where there could be many Products that belong to the same Reporting Centre, but only one Reporting Centre for each Product. Every Store belongs to a Reporting Centre, where there could also be many Stores that belong to the same Reporting Centre, but only one Reporting Centre for each Store. Now, each Reporting Centre has a specific tax rate, which is stored in Line [9199]. But Products, Stores, and Legal Entity do not have a tax rate, but have an Income amount, which is Line [2001]. If I'm in the cube looking at a specific Product (ie P1111), I have to calculate the tax amount on the Income that P1111 has, but since Products do NOT have a tax rate (Line 9199 is NULL for them), I would like to use the tax rate that belongs to the Reporting Centre that Product P1111 belongs to. I have no clue how to code this in MDX, and any help or solution to this problem will be greatly appreciated. Thanks Hichem |
![]() |
| Thread Tools | |
| Display Modes | |
| |