Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear Power Bi community & super user
I am traing to make a new measute to calculate an average by Name & by Attribute
I have these value diplayed on this first Matrix
Matrix Values = Count of Attribute
Slicer on date collumn ( 3 days selected) & Manager collumn ( Manager 1 selected)
Manager | Attibute 0 | Atribute 1 | Attribute 3 | Attribute 4 | Total |
- Manager 1 | 1 | 4 | 4 | 9 | 18 |
Name a | 2 | 1 | 3 | ||
Name b | 1 | 2 | 3 | ||
Name c | 1 | 1 | 1 | 3 | |
Name d | 1 | 1 | 1 | 3 | |
Name e | 3 | 3 | |||
Name f | 1 | 1 | 1 | 3 | |
Total | 1 | 4 | 4 | 9 | 18 |
I Would like to calculate the average and reaching giving this result
This measure below shot simply the result but Count day & Count name must keep the value of 3 for 3 days & 6 for Name
New Mesure = Count Attribute / (3// Count days *6 //Count Name)*6 //Count Name
0.33333+1.3333+1.3333+3=6 Total Count of Name
Manager | Attibute 0 | Atribute 1 | Attribute 3 | Attribute 4 | Total |
- Manager 1 | 0.33 | 1.33 | 1.33 | 3 | 6 |
Name a | 0.67 | 0.33 | 1 | ||
Name b | 1 | 0.67 | 1 | ||
Name c | 1 | 1 | 0.33 | 1 | |
Name d | 1 | 1 | 0.33 | 1 | |
Name e | 1 | 1 | |||
Name f | 1 | 1 | 0.33 | 1 | |
Total | 0.33 | 1.33 | 1.33 | 3 | 6 |
Thanks a lot for your Help
OK I will work on it, Thanks for the advice
@wagga07 - Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |