March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I'm working on a report that displays the total capacity of employee hours per day/week/wonth etc. But having trouble summing the totals. What would be the best approache to get the correct totals for each levels calculated correctly? See the situation below:
The following tables are avalilable:
I've setup a date table and merged the employee- and schedules table to get this model:
Adding the fields to a Matrix gives me a correct total hours per day and week, but the totals per month and year are not summed correctly.
Please see this article.
Obtaining accurate totals in DAX - SQLBI
You likely want to use this pattern
NewMeasure = SUMX(VALUES(Table[FullName]), [YourMeasure])
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |