Constructing lists in Power Query/M

Let’s create your free account


By continuing, you accept our Enterprise DNA Terms & Conditions , our Privacy & Cookie Policy and that your data is stored.

If you have an account Login here

The Power Query M language involves the construction of lists, which is made easier by understanding a few critical facts about them. A list is essentially an ordered sequence of values, separated by commas. Notably, list items aren't evaluated until accessed, and a list can theoretically contain an infinite number of items. 

The List.Count for such lists is undefined and attempting to define it may either cause an error or result in non-termination. Importantly, the native type of list values in the Power Query M language is the intrinsic type list. This specifies that the item type is of type 'any', hence list items can be of any type, be it primitive or structured. To initialize a list, one would use a set of curly brackets { }. Having covered these basics, it's time to delve into the practical aspect of constructing a list, which is conveniently provided in PDF for future reference.

What our Students Say
Your Author
Empty image or helper icon


Data & AI

At Enterprise DNA, we're more than just an online platform—we're your partner in advancing your data analytics and artificial intelligence capabilities. Our mission is to equip you with the tools to future-proof your career through mastery of data skills and upskilling in AI. We tailor training pathways to fit your unique learning journey and provide live data exercises and challenges to build hands-on experience. Together, we transform data into knowledge and skills into success.

Frequently Asked


Get full access to unparalleled

training & skill-building resources


Enterprise DNA

For Individuals

Empowering the most valuable data analysts to expand their analytical thinking and insight generation possibilities.

Learn More chevron_right


Enterprise DNA

For Business

Training, tools, and guidance to unify and upskill the data analysts in your workplace.

Learn More chevron_right
Latest Resources