Power Query create list from database column

NathanF

New Member
Joined
Nov 3, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am aware of the capability to enter "= {1..15}" in Power Query to generate a list of 1 through 15. I am trying to find a way to have that value in a database column (i.e., store "1..15" or "{1..15}" in a database) and have PQ read that result and generate the list 1 through 15. I have tried multiple iterations of this and cannot get anything to work. Any help or examples would be appreciated!

Thank you,
Nathan
 

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.
Nathan

You could split the values into 2 columns, let's say Start and Finish, and then add a new column with a custom function like this.
Excel Formula:
={[Start]..[Finish]}
You would end up with lists in the new column and you could expand those lists however you want, e.g. into rows.
 
Upvote 0
Power Query will not generate the list itself by fetching a field with the {1..15} function or two columns as Norie mentioned - each time a user action is required or a predefined M-code with such action
 
Upvote 0

Forum statistics

Threads
1,223,761
Messages
6,174,342
Members
452,555
Latest member
colc007

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