Forum Discussion
Calculating % based on unique id and status
- Anonymous8 years ago
Sergius,
Please check the DAX in the PBIX file below.
https://1drv.ms/u/s!AhsotbnGu1Nok1EZ842f9zPj1ZiM
Regards,
Lydia
Hello,
You could have posted an example of your expected result.
You may need something like a mixture of SUMMARIZE and FILTER.
But without knowing aim and proper dummy data it is really hard to tell.
Each unique ID is an indificator of the person.
The first step could be calculate number of IDs (whith status TRUE) for each region, to understand how many people are in data base.
Than caclulate % from total population of the region.
But how?
- Anonymous8 years agoNot applicable
Sergius,
Please check the DAX in the PBIX file below.
https://1drv.ms/u/s!AhsotbnGu1Nok1EZ842f9zPj1ZiM
Regards,
Lydia- Sergius8 years agoRegular Visitor
Thank you very much! It is great!
- Sergius8 years agoRegular Visitor
Anonymous,
thank you, but I only thing that was missed is that IDs represented people from these regions and should be calculated for each region separately. In this example they were calculated for all regions without desagregation.
- Anonymous8 years agoNot applicable
Sergius,
Please post expected result based on the sample data you provide.
Regards,
Lydia