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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Transformer different rows of 1 column into multi column

Hi folks,

 

A have a Excel Q&A Database with multiple questions and answers in differente sheets from diffentes people/companies, as example in below link to download from "mega.nz".

 

The ideia is get these diffente sheets and import to PowerBI into a single table (append all queryes for each question/sheet) with the structure as created in the Excel file.

 

I got some results in the sheet that I have just 1 Master Questions, Questions, answers, removing the rowns until the last questions, and make a pivot table, but when I have 3 levels of questions, its won't work because i had many steps to do manually.

 

PB.JPG

 

It's possible automate one query to read each table and import the data as exemple in the file? If yes, How could I "automate" this query?

 

Thanks.

#besafe #behealthy

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Check this file: Download PBIX 

 

Capture.PNG

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

7 REPLIES 7
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

It's possible, you need to use Folder connector and apply all transformations on the file you used as example. So, it will be applied to all tables and append later.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

Hi @camargos88 ,

Unfortully, I don't know how to make this tranformation in the rows for each Question/Subquestion/optiond in the columns, and create the coloumns  in the sample file/table to applie in other queries.

 

 

Hi @Anonymous ,

 

Can you provide some file sample, with dummy data ? 

So I can replicate it from my side with multiples files.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

Hi...

 

Sample file data is shared in the link in my post.

https://mega.nz/file/xJMXSaDQ#CL6YIJgoE2OSDFYbm5IVHRyZn6MxoRUFckydplxtsYk 

Hi @Anonymous ,

 

Check this file: Download PBIX 

 

Capture.PNG

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Greg_Deckler
Community Champion
Community Champion

Not entirely sure but it sounds like you want a Folder query.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Actualy, I have just one file (as example) but with many worksheet, and inside them, I have the questions/answers.
I will need probally at least one query for each worksheet, but I don't know how to "broke" the lines of the questions/options into columns (Master question / Question / Options).

 

BR.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Kudoed Authors