Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tsarun1992
Helper I
Helper I

Data Modelling

Hi All,

 

My query is very simple.

 

I have the data as following.

PO Number - XXXXXXXXX - 4320 Hours for that PO. There are two resources assigned to work in that PO.

2160 Hours for each resource is allocated in which,

 

Resource 1 - 1779 Hours used  

Resource 2 - 1705 Hours used

 

So the total hours used is 3484 Hours (80.60% Utilized - 3484/4320)

This % used is shown perfectly when I select the PO (As it has the total hours booked under it)

 

tsarun1992_0-1671682761493.png

 

But when I choose the resource, instead of taken PO hours for that resouce to calculate the utilization %, it takes the total hours.

For Resource 1, its 1779 Hours against 2160 hours (Approx 82%) but it shows as 41.2% which is 1779/4320 (Shown below)

 

tsarun1992_1-1671682981906.png

 

The formula used to calculate that % is as below,

 

tsarun1992_2-1671683014617.png

I had used quick measure to calculate this. Instead, should I use any other DAX using some filter?

Please guide.

1 ACCEPTED SOLUTION
v-jialluo-msft
Community Support
Community Support

Hi  @tsarun1992 ,

 

You can try this:

PO Burn Rate = 
DIVIDE(
SUM( 'ENABL IN PO NAV Hours'[NAV Hours]),
CALCULATE(SUM( 'ENABL IN PO'[PO Hour]),ALL('ENABL IN PO'))
)

If that's not what you need, provide sample files and expected output.

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

Best Regards,
Gallen Luo

View solution in original post

1 REPLY 1
v-jialluo-msft
Community Support
Community Support

Hi  @tsarun1992 ,

 

You can try this:

PO Burn Rate = 
DIVIDE(
SUM( 'ENABL IN PO NAV Hours'[NAV Hours]),
CALCULATE(SUM( 'ENABL IN PO'[PO Hour]),ALL('ENABL IN PO'))
)

If that's not what you need, provide sample files and expected output.

How to provide sample data in the Power BI Forum - Microsoft Power BI Community

 

Best Regards,
Gallen Luo

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.