Skip to content

Commit

Permalink
Create recordvalueListExample.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PBI-DataVizzle authored Jul 4, 2022
1 parent 99f7130 commit aa7337b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions recordvalueListExample.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Records, Values, Lists


```c#
//GetCodeFromGithub
let
Source = //Record.ToTable (
[ NewNested =

[
Nested =
[
Record1 = "Text",
Record2 = {1 .. 10}
]
],
SubNested2 =
[
Nested =
[
Record1 = "Text",
Record2 = {1 .. 10}
]
]
],
#"Converted to Table1" = Record.ToTable(Source),
#"Expanded Value1" = Table.ExpandRecordColumn(#"Converted to Table1", "Value", {"Nested"}, {"Nested"}),
#"Expanded Nested" = Table.ExpandRecordColumn(#"Expanded Value1", "Nested", {"Record1", "Record2"}, {"Record1", "Record2"}),
#"Expanded Record2" = Table.ExpandListColumn(#"Expanded Nested", "Record2")
in
#"Expanded Record2"
```

0 comments on commit aa7337b

Please sign in to comment.