Forum Discussion

electrobrit's avatar
electrobrit
Post Patron
3 years ago
Solved

Multiple conditions

I am trying to get a table where I have standard working hours, Total PTO, Adjusted Hours (Std hours-PTO), then a final column where if the resource type is "Contractor" or a specific person, ex. "An...
  • Dinesh_Suranga's avatar
    3 years ago

    electrobrit 

    Hi

    Try this.

    Column 2 =IF(SELECTEDVALUE(TimeDetail[full_name])= "Andy", [TotalHoursWorked],
    IF(SELECTEDVALUE(TimeDetail[ResourceType]) = "Contractor", [TotalHoursWorked],[AdjustedHours]))

    Thnak you.