Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Structure data from questionnaire

Hello,

 

I have a problem to properly format the data from an Excel document to use it within Power BI.

 

The Excel looks like this (simplified):

ID | status | language | ... | category1, question1 | category1, question2 | category1, question 3 | category2, question1 | category2, question2 | ...

The "question"s have results that convert into numbers.

In PowerBi I want to show different statistics how the categories perform within the different questions, e.g. a bar chart for "question1" where the bars represent the values of category1 to category50.

 

I'm quite sure I have to unpivot data somehow, but I don't really know how to approach this particular use case.

 

I guess the best result would be a table containing data like this:

ID | .. | category | question1 | question2 | question3 | ...

(category then would have category1, category2 or category3 as content. This of course would contain dublicated IDs and other fields, but that I could filter out by grouping by ID later).

 

Thanks so much,

Tom

1 REPLY 1
lc_finance
Solution Sage
Solution Sage

Hi @Anonymous ,

 

to better understand your question, could you share a sample of your Power BI file via DropBox, One Drive, Drive or another similar tool?

 

That should help understanding your question and better helping you,

 

LC

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.