Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am fairly new to using Power BI.
I am currently working on some employee production reports in Power BI.
I have a table that contains the Employee, Activity, Production, etc.
I have another table that has a list of all of the different activities and the target number for those activities.
I have their relationship linked on activity.
In my report. I want to have a bullet chart that is filtered by department and using the target number in the table that I talked about above.
The problem is that the target number seems to be summing (or averaging, min, max, etc) all of the target numbers in the table so the target number stays the same irregardless of the activity that is selected.
What would be the best way to get these target numbers to filter correctly?
Any help would be greatly appriciated.
Thank you.
Solved! Go to Solution.
I figured out my problem. It had to do with how I was filtering the data. I needed to use the "Activity" from the target data instead of the one from the actual data to filter the data on. Once I made that change it worked.
Any way that you can post sample data or, better yet, the PBIX you are using?
I created a mock up PBIX with the same problem but could not figure out how to upload it.
Here is what the data looks like. It is loaded as a csv into Power BI then I create a measure Dividing measureQty by Hours to get the rate that will be shown in the bullet chart.
The Department Average Employee is calculated when the csv is created. There are also actual employee numbers but I did not include them as examples.
Let me know if you need anything else. I am not sure what is enough to provide and I shouldn't include everything since it is semi sensitive information.
workDate | Employee Name | deptName | DeptCode | Activity | Worked WG3 Code | measureQty | hours | EmployeeType |
11/1/2017 0:00 | * Department Avg * | Equipment | 14 | East - Replenishment Pick - 60 | 169 | 596 | 9.25 | * Department Avg * |
11/1/2017 0:00 | * Department Avg * | Equipment | 14 | East - Returns Putaway CTN - 17 | 171 | 81 | 3.25 | * Department Avg * |
11/1/2017 0:00 | * Department Avg * | Inventory | 15 | East - Cycle Count - | 101 | 1130 | 11.25 | * Department Avg * |
11/1/2017 0:00 | * Department Avg * | Inventory | 15 | East - Cycle Count Bulk - | 186 | 1634 | 10.75 | * Department Avg * |
This is what the Target data table looks like it is also loaded as a csv. It is linked by activity.
Activity | Target |
East - Cycle Count - | 65 |
East - Cycle Count Bulk - | 55 |
East - Replenishment Pick - 60 | 60 |
East - Returns Putaway CTN - 17 | 35 |
Thank you.
I figured out my problem. It had to do with how I was filtering the data. I needed to use the "Activity" from the target data instead of the one from the actual data to filter the data on. Once I made that change it worked.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
87 | |
84 | |
68 | |
49 |
User | Count |
---|---|
131 | |
111 | |
96 | |
71 | |
67 |