Forum Discussion
Sergius
8 years agoRegular Visitor
Calculating % based on unique id and status
Dear community! Recently I have faced with one problem, so needs your help. I have one database, with unique id, regions and status, that looks like and separate table with pop...
- Anonymous8 years ago
Sergius,
Please check the DAX in the PBIX file below.
https://1drv.ms/u/s!AhsotbnGu1Nok1EZ842f9zPj1ZiM
Regards,
Lydia
Sergius
8 years agoRegular Visitor
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?
Anonymous
8 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.