Hi
I hope someone can help with a problem I have in PowerPivot.
I have two tables. on called "project plan" and another called "cost to complete". The project names are listed the same in both tables.
In the Project Plan table I have a dimension called "Plan Required" that is True/False, indicating if a plan is required or not. There is also a measure called "Remaining Cost"
In the Cost to Complete table I have other measures called Measure A and Measure B.
In the Cost to Complete table I want to make a new calculated column that says:
1. If the value of (Project Plan[Plan Required]) = True, then perform a calculation: Measure B subtracted from Measure A.
2. If the value of (Project Plan[Plan Required]) = False, then fetch the value from (Project Plan[Remaining Cost])
I hope that makes sense.
Basically I want to fetch a value from linked table if the value of [Plan Required] is false, but if it's true, then perform a calculation.
I appreciate any help offered.
Harry
I hope someone can help with a problem I have in PowerPivot.
I have two tables. on called "project plan" and another called "cost to complete". The project names are listed the same in both tables.
In the Project Plan table I have a dimension called "Plan Required" that is True/False, indicating if a plan is required or not. There is also a measure called "Remaining Cost"
In the Cost to Complete table I have other measures called Measure A and Measure B.
In the Cost to Complete table I want to make a new calculated column that says:
1. If the value of (Project Plan[Plan Required]) = True, then perform a calculation: Measure B subtracted from Measure A.
2. If the value of (Project Plan[Plan Required]) = False, then fetch the value from (Project Plan[Remaining Cost])
I hope that makes sense.
Basically I want to fetch a value from linked table if the value of [Plan Required] is false, but if it's true, then perform a calculation.
I appreciate any help offered.
Harry