Forum Discussion
Dax Help
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:
6 Replies
- lbendlinSuper User
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-p/963216
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 - MikeyDFrequent Visitor
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 - MikeyDFrequent Visitor
Already posted above
- lbendlinSuper User
like this ?