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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Aydeedglz
Helper V
Helper V

ADD MULTIPLE COLUMNS FROM AN EXCISTING TABLE (POWER QUERY)

Hi, I am creating another query from an excisting table in my model I have managed to bring ONE column only, but I don't know the syntax to bring more columns, how can I do it?

 

ONE COLUMN

= #"LND_SPF_PDREPORT"[Qtr Year Query]

 

MULTIPLE TRY

= #"LND_SPF_PDREPORT"[Qtr Year Query],[COLUMN 2],[COLUMN 3] = ERROR

= #"LND_SPF_PDREPORT"[Qtr Year Query,COLUMN 2,COLUMN 3] = ERROR

= #"LND_SPF_PDREPORT"[Qtr Year Query],"LND_SPF_PDREPORT"[COLUMN 2] = ERROR

 

Aydeedglz_0-1669313619432.png

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

It would be easier to reference your existing query, select the columns you want and then right click and choose 'Remove other columns'. Don't forget to remove duplicates if that is important.

See gif.

Reference.gif

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

1 REPLY 1
KNP
Super User
Super User

It would be easier to reference your existing query, select the columns you want and then right click and choose 'Remove other columns'. Don't forget to remove duplicates if that is important.

See gif.

Reference.gif

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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