Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Help with calculating a new column

Hi, I need to show a trend line for the Total and also for the 85% Total, but the value for the Total doesn’t exist in the source data.  To make it more complicated, the 85% Total exists but it’s in...
  • Phil_Seamark's avatar
    Phil_Seamark
    8 years ago

    I think I understand.

     

    Please try these two calculated columns.  For clarity, I have attached a PBIX file. 

     

    85% Capacity = 
        IF(
            'Table1'[Team]="85% Capacity",
            'Table1'[Cost]
            )

    and

     

    Capacity = 
        IF(
            'Table1'[Team]="Capacity", 
            SUM('Table1'[85% Capacity])/.85
            )