This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I'm really new to BI and need some assistance to see if what I want to create is possible.
I want to create some of type of function, measure, or count (using info detailed below) to identify the number of people with Position Code 5 who only have a training status of R and Q. I would then like to take that count and divide by the total number of Position Code 5s to obtain a qualification percentage. If there are resources or vidoes I should look at that would be helpful as well.
Thank you
| Name | Training Status | Position Code |
| Bob | A | 5 |
| Joel | D | 7 |
| Peter | C | 7 |
| Nate | R | 5 |
| Dave | D | 7 |
| Gary | Q | 5 |
| Draco | Q | 5 |
Lucian | R | 5 |
| Elrond | A | 5 |
Solved! Go to Solution.
Create the Measure for the Count of People with Position Code 5 and Training Status R or Q:
Use a DAX measure to filter the table and count only those people with Position Code = 5 and Training Status = "R" or Training Status = "Q".
Create a Measure for the Total Number of People with Position Code 5:
This measure will count the total number of people with Position Code = 5.
Create a Measure for the Qualification Percentage:
Now, divide the count of qualified people by the total number of people with Position Code = 5 to get the percentage.
Hi,
Based on the table which you have shared, show the expected result.
Create the Measure for the Count of People with Position Code 5 and Training Status R or Q:
Use a DAX measure to filter the table and count only those people with Position Code = 5 and Training Status = "R" or Training Status = "Q".
Create a Measure for the Total Number of People with Position Code 5:
This measure will count the total number of people with Position Code = 5.
Create a Measure for the Qualification Percentage:
Now, divide the count of qualified people by the total number of people with Position Code = 5 to get the percentage.
Thank you - worked perfectly and taught me something new!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 41 | |
| 28 | |
| 22 | |
| 22 |