Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello MS Power BI Desktop Community!
After weeks of trial and error, I've come to you for help pointing me in the right direction. It's probably important to note that I am a PBI n00b, however, I feel I've learned a ton since I began this project.
Let me start off by describing what I'm tasked with and how far I've made it.
My mission: To create a Dashboard to allow insights into performance in a department, most imprtantly: productivity,
So, within this department, works an always-changing staff of employees. These employees log their time per activity. There's about 30 activities, but for our purposes there's 9, I have a bunch grouped under Other. So my activities look like this: Data Entry, Inspections, Loose Pick, Mail Sorting, Putaway, Redirects, Repack, Repack Entry, and Other.
I transform the RAW data into a table like this: Date | Lastname, Firstname | Activity | Hours
Then I transform a RAW production data set into a table like this: Date | Lastname, Firstname | Activity | Units
Now, these are obviously my 2 data tables. I have dimension tables as well. Date, among other things.
I want to be able to calculate productivity as total units divided by total hours. I want to be able to determine this at the employee level, as well as by the Activity level. For instance, Data Entry productivity for whatever date range would equal the sum of all data entry units divided by the sum of labor hours. That's easy.
However, because employee's don't always record their times correctly, it's possible, on any given day, to have Joe Schmo recording 2 hours of data entry labor and the production report doesn't have any. The reverse is true, someone could have Data Entry production units, but did not record any data entry hours. Also, employee schedules are changing, so the same employees don't always work the same shift.
So... how in the world can I get to this productivity figure with the data I have now. Am i going to need to flatten/merge, or is it possible to use existing functionality within the PBI Desktop program?
PLEASE help me out!
Hi @CoreyP,
Looks like a simple request. Please provide a dummy sample. The solution depends on the data and its structure.
Best Regards,
Dale
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |