Forum Discussion
Calculating full-time equivalent (FTE)
- 5 years ago
Your simple exceptions aren't that simple. In the first case you can use the MIN() function, for example
hourstocount = MIN(8,hoursworked)
to cap at 8 (ignoring the fact that you are penalizing the worker for doing more work). For the second scenario use ALL() or ALLSELECTED() or ALLEXCEPT() to modify the filter context inside the computation.
- 5 years ago
Hi jsangerman ,
Try to show values as "Percent of column total". Or create a measure like below.
Measure = DIVIDE ( SUM ( 'Table'[Efforts (hours)] ), CALCULATE ( SUM ( 'Table'[Efforts (hours)] ), ALLEXCEPT ( 'Table', 'Table'[Date], 'Table'[User] ) ) )Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Your simple exceptions aren't that simple. In the first case you can use the MIN() function, for example
hourstocount = MIN(8,hoursworked)
to cap at 8 (ignoring the fact that you are penalizing the worker for doing more work). For the second scenario use ALL() or ALLSELECTED() or ALLEXCEPT() to modify the filter context inside the computation.
ALL() is the one that got me closest! Thank you for the suggestion.
Thank you to everyone else for the suggestions. It all helped me come to something that works.