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.
Hello
I have a KPI I need to calculate which requires the absolute sum of each month to be calculated, before then summing them all together.
I'm thinking sumx or summarize but not sure where to start.
(Sum of abs errors P1 + sum of abs errors P2 + sum abs errors Pn) / (Total sales P1 + total sales P2 + total sales Pn)
where abs errors is just sales minus forecast.
Solved! Go to Solution.
@dapperscavenger , Try a measure like
sumx(values(Date[Month Year]), calculate(sum(Table[errors ])))
Hi @dapperscavenger ,
Could you kindly provide some sample data and the results you expect? So we can do more tests to see if we can help you solve the problem.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@dapperscavenger , Try a measure like
sumx(values(Date[Month Year]), calculate(sum(Table[errors ])))
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |