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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Nelleke-NL
Helper II
Helper II

copy column to other query

I'm very glad with the solutions to work with answers on multiply answer-question previous question 

 

But in the complete table there are several columns/questions like this. 

Name anwersanswer2q1q2
Annaneeadministratie 1;2;31,2,3,4,5
Berthaneeschuld 1;21,4,5
Corjaschuld  1;31,2,5
Dennisneeadministratie 2;32,3,5

 

Now I have to make for each multiply answer in a column different downloads. So I have table complete, table q1, table q2

 

But is it possible and how, to make a copy of the column Name en column q1 to a different table and also for column Name en column q2. Then I make there the steps for listing the answers and count it in a report. 

 

Please help me, I'll be greatfull!

4 REPLIES 4
wdx223_Daniel
Super User
Super User

hope this can help

wdx223_Daniel_0-1672034771854.png

 

Almost....

 

= Table.AddColumn(#"Headers met verhoogd niveau", "Aangepast", each Table.ExpandListColumn(Table.TransformColumns(Table.UnpivotOtherColumns(Bron{[Item="Blad1",Kind="Sheet"]}[Data],List.FirstN(Table.ColumnNames(Bron{[Item="Blad1",Kind="Sheet"]}[Data]),3),"Q","Value"),{"Value",each Text.SplitAny(Text.Trim(_),";")}),"Value"))

little problem with first 2 row. Maybe something I can fix?

 

NellekeNL_0-1672064376266.png

 

NellekeNL_1-1672064444447.png

 

 And to test in the big tabel.  I need to understand where the formule the link is to the right column

My table has a lot of columns. How can I select the right columns? (hulpvraag + probleemstelling + reden niet in behandeling)

NellekeNL_0-1672079576827.png

 

AlB
Community Champion
Community Champion

Hi @Nelleke-NL 

Can you show the expected result? I don't quite understand the requirements from your explanation

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

I'll try *English is difficult for me

= Table.AddColumn(#"Type gewijzigd1", "Q1 new", each Text.Split([q1],";"))

= Table.AddColumn(#"Aangepaste kolom toegevoegd", "Q1 new", each Text.Split([q1],";"))

= Table.AddColumn(#"Aangepaste kolom toegevoegd", "Q2 new", each Text.Split([q2],";"))

Removed Q1 and Q2

NellekeNL_0-1671895256390.png

= Table.ExpandListColumn(#"Kolommen verwijderd", "Q1 new")

report:

NellekeNL_1-1671895427517.png

NellekeNL_2-1671895535981.png

Huh How can I count like Q1 new? Other tabel? Or is there a nicer solution?

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors