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.
Hi All,
I was hoping you could help me on creating a Dax Expression as i'm new to DAX Commands.
I'm trying to Filter out a specific name in column called 'Intervention' and another name in 'Population' and return a percentage based on a GroupCount column. So far I have this but it's not returning the percent that i'm expecting:
Already posted above
like this ?
Basically i'm trying to use a group count (thousands of lines) / Metric met for this particular vaccine to get an overall percentage of those that have and haven't met the metric.
There are 24 other vaccines inside vaccination name that need to be filtered out.
InterventionName | Service | GroupCount | Vaccinated | NotVaccinated | VaccinationUnknown | Metric | Metric Not Met |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 3 | 3 | 0 | 0 | 1 | 2 |
Typhoid | RN | 3 | 3 | 0 | 0 | 1 | 2 |
Typhoid | RN | 2 | 2 | 0 | 0 | 1 | 1 |
Typhoid | RN | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 1 | 1 | 0 | 0 | 1 | 0 |
Typhoid | RN | 4 | 4 | 0 | 0 | 0 | 4 |
Typhoid | RN | 2 | 2 | 0 | 0 | 0 | 2 |
Typhoid | RN | 1 | 1 | 0 | 0 | 1 | 0 |
Typhoid | RN | 1 | 1 | 0 | 0 | 1 | 0 |
Typhoid | RN | 1 | 1 | 0 | 0 | 1 | 0 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 2 | 2 | 0 | 0 | 0 | 2 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 2 | 2 | 0 | 0 | 0 | 2 |
Typhoid | RN | 2 | 2 | 0 | 0 | 0 | 2 |
Typhoid | RN | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 4 | 4 | 0 | 0 | 1 | 3 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RN | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
Typhoid | RAF | 1 | 1 | 0 | 0 | 0 | 1 |
what would be the expected outcome?
A percentage based only those RN who have and Haven't met the Metric including the Unknowns
Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. Screenshots of your source data are not useful.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
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 |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |