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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.