cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper II

## 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

1 ACCEPTED SOLUTION
Helper II

Thanks All,
i could not have solved without you , my solution is

FTE =
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)))
7 REPLIES 7
Community Support

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

Helper II

Helper II

Thanks All,
i could not have solved without you , my solution is

FTE =
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)))
Resolver II

1. Create a conditional column.

2. Create New column.

FTE = 'sample data'[Hours]/'sample data'[Time calc]

Output:

Best Regards,

Shreya Mukkawar

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and Like the solution.

Helper II

when you divide 3753 on 48 it should give 77.81

thanks

Resolver II

It will help to solve this problem.

Helper II

ex ,
Us = sum( [houus] )/ 48.
UK = sum( [houus] )/ 45.
TN= sum( [houus] )/ 40
i want to make all of them in Measure