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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Olvrapha
Regular Visitor

Power BI - headers to lines and sum the values of them (Like summary the values of columns)

Hello everyone!

I'm a beginner on Power BI and i need some help, please.

I'm making a report on Power Bi with the answers of my survey about investments, some of asks have multiple choices and that choices are transformed into column... so, how can i do a unique column with this multiple choices of each participant? is it possible to do this?

Obs. The multiple choices are columns ("33.25.1", "33.25.2",...,) and the answers is "1" in lines.

Asks are Columns and answers are linesAsks are Columns and answers are linesIf i put in "Categoria" appears "(Em Branco)"If i put in "Categoria" appears "(Em Branco)"

1 ACCEPTED SOLUTION
mlsx4
Memorable Member
Memorable Member

Hi @Olvrapha 

 

I will do the following:

  • First, duplicate the values and get only the ID of the answer, and the columns related to the multiple choice option. Like this

mlsx4_0-1689233140461.png

 

  • Then, unpivot the column:

 

mlsx4_1-1689233283234.png

 

  • Replace the values 1, 2, 3...by the real answer and relate the second table with the original one by ID

Not sure if this helps, but it may work

View solution in original post

3 REPLIES 3
mlsx4
Memorable Member
Memorable Member

That's nice @Olvrapha !!

Don't forget to mark it as solved. It could be useful for other users.

mlsx4
Memorable Member
Memorable Member

Hi @Olvrapha 

 

I will do the following:

  • First, duplicate the values and get only the ID of the answer, and the columns related to the multiple choice option. Like this

mlsx4_0-1689233140461.png

 

  • Then, unpivot the column:

 

mlsx4_1-1689233283234.png

 

  • Replace the values 1, 2, 3...by the real answer and relate the second table with the original one by ID

Not sure if this helps, but it may work

It worked! Thank you very much!! 💖

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.