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 used a matrix to get the sum of the total units that had been sold in a 9 week period. This gives a total of 7600 and therefore should show an average of 844.44 per week. How do I replicate this information in PowerBI? When using the average it gives me an incorrect total average. (This will be due to there being multiple entries for each week number).
This is my first post and first time using PowerBI so I may
Hi @Anonymous ,
Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
If you need more help, please feel free to let me know.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You should use Iterator Average Function to get the correct average
you DAX code should be looks like this
=AVERAGEX(Values(WeekNumber), [Total Units Sold])
Proud to be a Super User!
Hi, when I do this is doesn't allow me to select the colomn for total units sold?
Create a measure Total Units and then use this measure in the Formula.
Proud to be a Super User!
Hi @Anonymous
Try in a Measure
Hi @Anonymous
Or u can use this
Proud to be a Super User!
Hi, Both your solutions return this:
Hi @Anonymous
Please see the below image
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 |
---|---|
110 | |
98 | |
78 | |
64 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |