spicysudhi
Programmer
hi
The transformer model has three measures
1. Value : Source from IQD
2. Cost : Source from IQD
3. Margin % : Calculated as (Value-Cost)/Value
The rollup type for the margin is set as default (After Rollup).
Below is how my cube looks when opened
The calculation is absolutelly working fine here. however, what our use doing is, they are defining a calculated row, by adding PartA and PartB. Then the output comes like this
If you look in the above example, the Margin is not based on the original calulation, it is the SUM of actuals (50% + 50%)
Anyway to get around this problem instead of asking the user to create a calculated margin column?
regards,
Sudhi
The transformer model has three measures
1. Value : Source from IQD
2. Cost : Source from IQD
3. Margin % : Calculated as (Value-Cost)/Value
The rollup type for the margin is set as default (After Rollup).
Below is how my cube looks when opened
Code:
Part no Value Cost Margin%
Part A 10 5 50%
Part B 20 10 50%
Code:
Part no Value Cost Margin%
Part Total 30 15 100%
If you look in the above example, the Margin is not based on the original calulation, it is the SUM of actuals (50% + 50%)
Anyway to get around this problem instead of asking the user to create a calculated margin column?
regards,
Sudhi