Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello everyone!
I have a Power Bi report connecting to dataBase via Direct Query. I have a grid as in the picture below:
Each employee has norm hours to be reported per month, for example this number should be 168. Reported all - these are total reported hours per month. And I also have mismatch in Over/Underreported hrs column, this is difference between norm hrs and actually reported.
My issue is that in DataBase I have every row as a day, and workload is 8 hrs, but in Power BI I need this to be displayed for month (I use slicer for month). I want normal and reported hrs to sum by employee, while Over/Under will be difference.
I want this to be displayed as below
Solved! Go to Solution.
Hello @v-jiascu-msft again, I jave managed to fix thist myself by turning columns into measures and using function FILTER to this measure, so basically in my grid I only have filtered a column while the other columns show sum by month
regards
Hi @tananich,
How does the original data look like? Are they from one table? Actually, this is a basic calculation. You can get it easily. Please refer to the snapshot below.
Best Regards,
Hello @v-jiascu-msft again, I jave managed to fix thist myself by turning columns into measures and using function FILTER to this measure, so basically in my grid I only have filtered a column while the other columns show sum by month
regards
Hi @v-jiascu-msft, thank you for the answer, however the screenshot is not available for me, can you please insert it again?
User | Count |
---|---|
107 | |
87 | |
81 | |
76 | |
71 |
User | Count |
---|---|
112 | |
105 | |
96 | |
74 | |
66 |