

Using RANDBETWEEN (in Office 365 with Dynamic Arrays there are far better Table ListOfTen is just a random list of 10 countriesįrom the main Table and looks something like this (the Id’s are calculated Table AllCountries containsĪ list of Countries plus some demographic data and looks like this.


If you prefer learning through video, you can watch this video or view the video embedded at the end of this article. You can get the Workbook here and follow along.
Excel power query examples code#
Very often, those lines of code will contain Lists (most Common steps to do so are Changed Type steps). So rarely do we use them on purpose, and yet, we use them all the time since Power Query writes a new line of M code every time you click any command in the graphical user interface (GUI). Lists are (in my humble opinion) the most underrated output of Power Query. Utilizing Power Query Lists Series – Part 1/3
