Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext 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
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
| Date | Work Center | Work Order | Labor | Produced |
| 1/5/2020 | A | 1 | 12 | 5 |
| 2/5/2020 | B | 2 | 11 | 10 |
| 1/5/2020 | C | 3 | 5 | 15 |
| 2/7/2020 | D | 4 | 9 | 2 |
| 1/5/2020 | E | 5 | 25 | 4 |
| 2/5/2020 | A | 1 | 3 | 6 |
| 1/5/2020 | B | 2 | 45 | 8 |
| 2/5/2020 | C | 3 | 12 | 20 |
| 1/5/2020 | D | 4 | 32 | 25 |
| 2/7/2020 | E | 5 | 6 | 40 |
Can anyone help me get started?
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
Productivity (Column) = [Produced] / [Labor]
Put Date in the axis
Put Work Order in the Legend
Productivity in the Values
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 33 | |
| 33 | |
| 31 |