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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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