Pivot tabel - team, questions with multiply answers

%3CLINGO-SUB%20id%3D%22lingo-sub-2425773%22%20slang%3D%22en-US%22%3EPivot%20tabel%20-%20team%2C%20questions%20with%20multiply%20answers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425773%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EHope%20anyone%20can%20give%20me%20some%20input.%3C%2FP%3E%3CP%3EI%20hope%20for%20input%20with%20plain%20excel%20functions%20and%20features%20and%20no%20VBA%20please%20%3Bo)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20doing%20surveys%20for%20my%20org.%20and%20we%20have%20several%20teams%20who%20get%20the%20same%202%20questions.%3C%2FP%3E%3CP%3EWe%20get%20different%20reply%20on%20the%20questions%20and%20we%20would%20like%20to%20analyse%20the%20answers%20in%20a%20pivot.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20i%20create%20a%20pivot%20that%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Where%20i%20can%20use%20the%20filter%20to%20select%20the%20team%3C%2FP%3E%3CP%3E2.%20Where%20i%20get%20the%20questions%20listed%20below%20the%20team%20with%20various%20answers%20pr.%20team%20after%20the%20question%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20created%20a%20mockup%20on%20my%20desired%20to%20be%20result%20-%20see%20attachment%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThx%20for%20your%20input%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2425773%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426111%22%20slang%3D%22en-US%22%3ERe%3A%20Pivot%20tabel%20-%20team%2C%20questions%20with%20multiply%20answers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426111%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305909%22%20target%3D%22_blank%22%3E%40Jan_Svendsen%3C%2FA%3E%26nbsp%3BPerhaps%20a%20combination%20of%20Power%20Query%20(PQ)%20and%20Power%20Pivot%20(PP)%20is%20what%20you%20need.%20Not%20exactly%20the%20same%20as%20in%20your%20picture%20but%20close.%20Are%20you%20familiar%20with%20these%20tools%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202021-06-08%20at%2014.00.37.png%22%20style%3D%22width%3A%20397px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F287132i85027645711EA637%2Fimage-dimensions%2F397x151%3Fv%3Dv2%22%20width%3D%22397%22%20height%3D%22151%22%20role%3D%22button%22%20title%3D%22Screenshot%202021-06-08%20at%2014.00.37.png%22%20alt%3D%22Screenshot%202021-06-08%20at%2014.00.37.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFile%20attached.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426324%22%20slang%3D%22en-US%22%3ERe%3A%20Pivot%20tabel%20-%20team%2C%20questions%20with%20multiply%20answers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426324%22%20slang%3D%22en-US%22%3EHi%20Riny%3CBR%20%2F%3EThanks%20verry%20much%20for%20quick%20reply.%3CBR%20%2F%3EIs%20not%20familiar%20with%20PQ%20and%20PP%20but%20i%20probally%20can%20read%20up%20on%20it.%3CBR%20%2F%3EWhat%20is%20the%20step's%20to%20get%20the%20result%20you%20attached%3F%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Create%20rawdata%3CBR%20%2F%3E2.%20nnn%3CBR%20%2F%3E3.%20nnn%3C%2FLINGO-BODY%3E
New Contributor

Hi

Hope anyone can give me some input.

I hope for input with plain excel functions and features and no VBA please ;o)

 

I'm doing surveys for my org. and we have several teams who get the same 2 questions.

We get different reply on the questions and we would like to analyse the answers in a pivot.

 

How do i create a pivot that 

1. Where i can use the filter to select the team

2. Where i get the questions listed below the team with various answers pr. team after the question

 

I have created a mockup on my desired to be result - see attachment

 

Thx for your input 

4 Replies

@Jan_Svendsen Perhaps a combination of Power Query (PQ) and Power Pivot (PP) is what you need. Not exactly the same as in your picture but close. Are you familiar with these tools?

Screenshot 2021-06-08 at 14.00.37.png

File attached. 

Hi Riny
Thanks verry much for quick reply.
Is not familiar with PQ and PP but i probally can read up on it.
What is the step's to get the result you attached?

1. Create rawdata
2. nnn
3. nnn

@Jan_Svendsen The PP part is relatively easy. Since I did not have anything to work with, I created a small table with raw data similar to yours and connected to it with PQ. Then changed all data types to text, unpivoted the "Question" columns. close and load (connection only) into the Data Model (DM).

 

In the DM, I added a measure with a DAX function CONCATENATEX. It basically creates values from texts that can then be dumped into the value field of a pivot table. A trick I learned on this forum a while ago. 

 

There are many resources on-line to get into the basics of PQ. For instance, this one:

https://exceloffthegrid.com/power-query-introduction/ 

From here you will be able get to know PQ, connect to your own (real) data and replicate the few applied steps that I used to create the table that loaded into PP.

 

The DAX part in PP is a bit of a challenge, at least, that's how I see it. I don't even dare start explaining as I would probably talk nonsense. Google for the function, and you'll get plenty of hits.

@Riny_van_Eekelen Thanks very much for you input Riny, i will try that out