Hi friends
Need help regarding the MDX .I do have one Mapping table M1 with measure values.
A0 A1 A2 M1 M2
1 2 3 100 960
2 3 4 140 680
1 4 7 520 660
2 5 9 550 630
and one dimension table d1 having 20 records.
with columns as
id value mapping column
1 Red A0
2 orange A0
3 green A0
4 blue A0
So when the Dimension table is joined with Fact/Mapping table i want my Output in cube as as :
OutPut:
In rows as Red (A0) and column M1(Measure) as 620. (Sum of 520+100)
Logic will work as follows in Fact Map Table.
If i go for filters(in Microsoft excel) in Mapping Table. While Selecting the A0 and filter Value as 1
The below data is displayed :
Red A0 A1 A2 M1 M2
1 2 3 100 960
1 4 7 520 660
A0 (1 value or Other) is basically an ID .which is logically Build with RED (Dimension ID).Same as A0(2 Value) is with Orange.
Same way if any other filter is selected. it should work with same way(Filtering the data in Mapping table and then Sum of measures)
Please help . I neeed to build this logic for Fact tables.
Should i go for NAMED Sets or calculated member for the Fact logic(Filter)


