Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi Team,
I am new to Bi and stucked into one of the issue in which i want to show the minimum value in matrix. For example - suppose there are 3 trainings (A,B,C) and in india 3 people completed training A, 2 completed B, 1 person completed C respectively. So when i click the plus button in matrix to see the number of the people its showing me 3 but i want the minimum value i.e. 1. How can i get this. its important.
Attaching screen shot for the reference.
Step 1: I use ’DATA’ table below.
Step 2: I make a measure.
Min Number = CALCULATE(MIN('DATA'[Number]),ALLEXCEPT('DATA',DATA[Country]))
Step 3: Imake a matrix.
'DATA' table:
Country Trainings Number
India A 3
India B 2
India C 1
USA A 6
USA B 5
USA C 4
UK A 8
UK B 7
UK C 3
Hi Mickey64,
You have taken the min of number which is a numerical column for you but for me i have a cloumn as full name of the candidates who have completed the training and for that i can't take minimum. Attaching screen shot of data as reference purpose.
So for name again i can't take minimum.
Step 1: I use your data named 'DATA_2'.
Step 2: I make a summarize table named 'Country Table'.
Country Table = SUMMARIZE('DATA_2','DATA_2'[Country],DATA_2[Trainings])
Step 3: I add 'Key' column to the 'Country Table'.
Key = [Country]&"_"&[Trainings]
Step 4: I add 'Key' column to the 'DATA_2' table.
Key = [Country]&"_"&[Trainings]
Step 5: I add a relationship.
Step 6: I add 'Count' column to the 'Country Table'.
Count = CALCULATE(COUNTROWS('DATA_2'),ALLEXCEPT('Country Table','Country Table'[Key]))
Step 7: I make 2 measures.
@Anonymous Hello,
You can try this method as per image .
Thanks
Harish M
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 62 | |
| 62 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 120 | |
| 113 | |
| 38 | |
| 29 | |
| 28 |