Created
August 25, 2025 16:11
-
-
Save m-dekorte/ac523c07477076abe2aa6267cf13d9c1 to your computer and use it in GitHub Desktop.
Explore 'Item Access' in Power Query M from the strict 'Required' to the safer 'Optional' method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| /* Samples */ | |
| myList = {0..4}, | |
| myTable = Table.FromValue({0..4}), | |
| /* List | Item Access */ | |
| ListRequiredItemAccess = {0..4}{1}, | |
| ListRequiredItemAccess2 = {0..4}{10}, | |
| ListOptionalItemAccess = {0..4}{10}?, | |
| /* Table | Item Access */ | |
| TableRequiredItemAccess = Table.FromValue({0..4}){1}, | |
| TableRequiredItemAccess2 = Table.FromValue({0..4}){10}, | |
| TableOptionalItemAccess = Table.FromValue({0..4}){10}? | |
| in | |
| TableOptionalItemAccess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment