Power Query

jaymack

New Member
Joined
Nov 29, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a power query...query. how can I copy data from a cell in power query into a column. I.e column name Tuesday into Column 2 all the way down?

Hope that makes sense
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Not really. :) You can't really return just one cell from a query - you return the whole thing. Can you elaborate on exactly what you have in PQ and what you are trying to achieve? (I can't really see any point to putting the same value in every cell in a column)
 
Upvote 0
Try:
1)
• Give the Cell a Range Name eg DayOfWeek.
• Load it to Power Query > Data from Range
• In PQ for that Query removed the Promote Header & Changed Type steps
• Load as connection only
2) In the orginal Query
• Add Custom Column
• Enter "= DayOfWeek" (without the quotes)
• Expand the column and give it a column heading
 
Upvote 0
Try:
1)
• Give the Cell a Range Name eg DayOfWeek.
• Load it to Power Query > Data from Range
• In PQ for that Query removed the Promote Header & Changed Type steps
• Load as connection only
2) In the orginal Query
• Add Custom Column
• Enter "= DayOfWeek" (without the quotes)
• Expand the column and give it a column heading
Amazing, that did the trick. Thanking you
 
Upvote 0

Forum statistics

Threads
1,224,804
Messages
6,181,060
Members
453,017
Latest member
rlundbulls23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top