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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Help with Calculation

I am new to Power BI and I have the following Data Table that I am using. I would like to:

1. Calculate Productivity (Produced/Labor Hour) for each Work Order

2. Then I would like to produce a Bar Graph with the productivity by work Center or by Work Order

3. Also would like to display the data by date

DateWork CenterWork OrderLabor Produced
1/5/2020A1125
2/5/2020B21110
1/5/2020C3515
2/7/2020D492
1/5/2020E5254
2/5/2020A136
1/5/2020B2458
2/5/2020C31220
1/5/2020D43225
2/7/2020E5640

Can anyone help me get started?

 

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

You could also try a measure as below:

Productivity 1 = CALCULATE(SUM('Table'[Produced]))/CALCULATE(SUM('Table'[Labor]))

or

Productivity 2 = SUMX('Table',[Produced]/[Labor])

Then create a Bar Graph visual that Put Date in the axis, Put Work Order in the Legend, Productivity in the Values

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Productivity (Column) = [Produced] / [Labor]

 

Put Date in the axis

Put Work Order in the Legend

Productivity in the Values



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.