Forum Discussion
Survey Results Analysis
My Company has run an employee opinion survey (keep in mind over 100k surveyed, 31 questions in the agree/strongly agree/strongly disagree etc. format)
I've been given a report that sumarizes the information into a hierarchy, informing me how many valid responses were collected for each question in each level of the hierarchy and the % of those valid results per answer option.
The problem is that there are over 5000 organizational units (see simplified example below), but i can't create a simple hierarchy on power bi because my results are already summed up in the next higher org. level.
Additionally, the levels below an org unit wont necessarily add up to what the level already shows: Sweden, Greece, Germany, France and Italy dont add up to Europe because there are people counted only at the europe level; the same loghic applies to Europe and Africa not adding up to the Europe & Africa pre-sum.
The data set is too big for manual changes, what can I do to make this process easier?
| L1 | L2 | L3 | L4 | Valid Responses | % Favorable |
| Europe & Africa | 100 | 78 | |||
| Europe & Africa | Europe | 53 | 61 | ||
| Europe & Africa | Europe | France | 10 | 84 | |
| Europe & Africa | Europe | Italy | 10 | 96 | |
| Europe & Africa | Europe | Germany | 10 | 52 | |
| Europe & Africa | Europe | Greece | 10 | 78 | |
| Europe & Africa | Europe | Sweden | 10 | 63 | |
| Europe & Africa | Africa | 43 | 98 | ||
| Europe & Africa | Africa | West Africa | 9 | 52 | |
| Europe & Africa | Africa | West Africa | Morroco | 9 | 78 |
| Europe & Africa | Africa | East Africa | 20 | 91 | |
| Europe & Africa | Africa | East Africa | Kenya | 10 | 84 |
| Europe & Africa | Africa | East Africa | Egypt | 5 | 61 |
1 Reply
- AnonymousNot applicable
Ideally you'd model your Geography table as a parent-child hierarchy and then join that to your survey responses table. A parent-child hierarchy can handle the situation you have.
Marco Russo has an excellent article on the technique here: https://www.daxpatterns.com/parent-child-hierarchies/
Eric