Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
How do I get an average for the total of each distinct Item on a list?
| Item Name | Category | Age |
| A | Class X | 2 |
| B | Class Y | 10 |
| C | Class Z | 5 |
| D | Class X | 6 |
| E | Class Y | 2 |
| A | Class X | 4 |
When I do an average of Age by Category, I get the following:
Class X = 4 ((2+6+4)/3 Items)
Class Y = 6 (10+2)/2 Items)
Class Z = 5 (5/1 Item)
I need to show the average per distinct Item. If an Item has more than one entry, then the total of that Item is to be counted as one entry. The desired result would be this:
Class X = 6 ((2+6+4)/2 Distinct Items)
Class Y = 6 (10+2)/2 Items)
Class Z = 5 (5/1 Item)
How do I achieve that?
Solved! Go to Solution.
Hi @yorick1973
This can be achived by using this dax:
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem
Regards
Hi @yorick1973
This can be achived by using this dax:
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem
Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |