Hi
I have done some measure calculations to work out the total of Project A actual:
Project A Actual = calculate(sum([Actual]),[project_name]="ProjectA",or([task_name]="TaskA",[task_name]="TaskB"))
Project A Budget = CALCULATE(sum([Original Budget]),[task_name]="ProjectA",[Unit]="A")
Both of the above measure works, however I would like to use this measure in a column calculation below:
Column
NewActuals = if(and([task_name]="ProjectA", [Unit]="A"),[Project A Actual]*[Original Budget]/[Project A Budget], 0)
However, no value is returned in this column. I wonder can I use measures in column calculation formula? Please could anyone help to point out my mistakes. Many thanks.
I have done some measure calculations to work out the total of Project A actual:
Project A Actual = calculate(sum([Actual]),[project_name]="ProjectA",or([task_name]="TaskA",[task_name]="TaskB"))
Project A Budget = CALCULATE(sum([Original Budget]),[task_name]="ProjectA",[Unit]="A")
Both of the above measure works, however I would like to use this measure in a column calculation below:
Column
NewActuals = if(and([task_name]="ProjectA", [Unit]="A"),[Project A Actual]*[Original Budget]/[Project A Budget], 0)
However, no value is returned in this column. I wonder can I use measures in column calculation formula? Please could anyone help to point out my mistakes. Many thanks.