Forum Discussion
rathimd
3 years agoFrequent Visitor
Calculate column returning multiple values in if condition
Hi , 1) Using Column When I am passing column else condition in below query it is giving returing me single value. Mark-up Cost Actual - Salary = IF( RELATED( Employees[Rank C...
- 3 years ago
rathimd , try like
IF(
Max( Employees[Rank Code] ) = 9050,
DIVIDE(
SUM('Time & Billing'[PROD_TIME_AMT]),
SUM('Time & Billing'[PROD_TIME_HRS])
),
[Labor Rate Salary])
rathimd
3 years agoFrequent Visitor
- amitchandak3 years agoSuper User
rathimd , try like
IF(
Max( Employees[Rank Code] ) = 9050,
DIVIDE(
SUM('Time & Billing'[PROD_TIME_AMT]),
SUM('Time & Billing'[PROD_TIME_HRS])
),
[Labor Rate Salary])