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
Hi,
I have a Weekly Percent column in a matrix visual that I have calculated using the following formula:
Solved! Go to Solution.
@JayPow28 , You need to make sure hours sum up over week
Var WorkHrs = sumx(values(Table[Week]),calculate(MAX('Employee Working Hours'[Working Hours])))
or
Var WorkHrs = sumx(summarize(Table, Table[employee],Table[Week],"_1",calculate(MAX('Employee Working Hours'[Working Hours]))),[_1])
@JayPow28 , You need to make sure hours sum up over week
Var WorkHrs = sumx(values(Table[Week]),calculate(MAX('Employee Working Hours'[Working Hours])))
or
Var WorkHrs = sumx(summarize(Table, Table[employee],Table[Week],"_1",calculate(MAX('Employee Working Hours'[Working Hours]))),[_1])
Thank you Amit, that sorted it.
Regards,
Jason
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 |
---|---|
94 | |
90 | |
84 | |
76 | |
49 |
User | Count |
---|---|
143 | |
140 | |
109 | |
69 | |
55 |