Forum Discussion
Anonymous
3 years agoNot applicable
Measure
how to make the below highlight in on Measure ex , Us = sum( [houus] )/ 48. UK = sum( [houus] )/ 45. TN= sum( [houus] )/ 40 i want to make all of them in Measure
- Anonymous3 years ago
Thanks All,
i could not have solved without you , my solution isFTE =IF(SELECTEDVALUE(Overall[Location (Country)]) = "KSA", [hours] /48,IF(SELECTEDVALUE(Overall[Location (Country)]) = "UAE",[hours] /45,IF(SELECTEDVALUE(Overall[Location (Country)])= "Greece","Germany",[hours]/40)))
Anonymous
3 years agoNot applicable
Hi Anonymous ,
Like this?
just create a measure:
FTE = var _US=SELECTEDVALUE('Table'[hours])/48
Var _UK=SELECTEDVALUE('Table'[hours])/45
var _UETN=SELECTEDVALUE('Table'[hours])/40
return IF(SELECTEDVALUE('Table'[item])="US",_US,IF(SELECTEDVALUE('Table'[item])="UK",_UK,_UETN))
And you can also refer to my pbix file for better understanding.
Best regards,
Community Support Team Selina zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Anonymous3 years agoNot applicable
- Anonymous3 years agoNot applicable
Thanks All,
i could not have solved without you , my solution isFTE =IF(SELECTEDVALUE(Overall[Location (Country)]) = "KSA", [hours] /48,IF(SELECTEDVALUE(Overall[Location (Country)]) = "UAE",[hours] /45,IF(SELECTEDVALUE(Overall[Location (Country)])= "Greece","Germany",[hours]/40)))