polaris3028
8 years agoHelper III
Compute Utilization Based on Data from 2 Tables
Hi PBI Gurus,
I'm pretty new with relationships in PBI and need help on my case.
Scenario:
I have TABLE#1 with details on #TASKS and #HOURS(per task) that can be summarized per month,
and TABLE#2 with fixed monthly values of WORKDAYS, HEADCOUNT AND WORKHOURS(8)
I will use it to compute for utilization using the formula:
UTILIZATION % = (#TASKS*#HOURS) / (WORKDAYS*HEADCOUNT*WORKHOURS)
Say:
#TASKS = 1387
#HOURS = 0.17
WORKDAYS = 19
HEADCOUNT = 3
WORKHOURS = 8
UTILIZATION %
= (1387*0.17) / (19*3*8)
= 235.79 / 456
= 51.71%
Note: TABLE#2 contains fixed values of the monthly workdays, headcount and workhours.
What's the best way to do this in PowerBI? Thanks in advance. :)