Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am new to Power BI and I have searched several different scenarios and I am not finding what I need. I believe this should be fairly simple for those experienced.
I need to produce a report that that shows how many hours per month have been worked and show a perccentage that shows the performance against target. (Sum of all months actuals and divided by the Target).
I have created the relationship between the two tables based on month name and that is working.
I can not figure out how to take the total of hours and divide by the YTD Target hours from the other table..
Data:
One table with information regarding hours worked in a month along with associate. (actuals)
One table with Month names, hours per month and an accumulated YTD total for hour that should be worked (target)
Output
I can not figure out how to take the total of hours and divide by the YTD Target hours from the other table.. I do not how to solve the cells highlighed in Green.
Thank you in advance!
Solved! Go to Solution.
Hi,
You can try the below steps:
1. Create a calculated column in YTD target table with the below DAX:
Hope this solves your problem. If it does, please consider accepting this as solution.
Regards,
Kishore
This was very helpful. Thank you for the easy to follow explanation and code sample.
Hi,
You can try the below steps:
1. Create a calculated column in YTD target table with the below DAX:
Hope this solves your problem. If it does, please consider accepting this as solution.
Regards,
Kishore
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
16 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |