Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi there,
Not sure how to do this without coming up with an error.
Would love to learn how to do this for future reference. Spent a couple of hours trying to figure it out myself to no avail.
Thanks in advance for your time and any help provided.
Solved! Go to Solution.
Duplicate your query. Then in one version select columns 1-6. In the other version select columns 7-12. Append both queries (as new, if you want). Disable load for the original queries.
Hi @thedogspollocks,
Define how many columns you want to split in 2nd step SplitColumnsBy.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTICYmMgNgFiUyA2A2JzILYAYksgNjQAESCVhkZKsTrDUFMsAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t, Column3 = _t, Column4 = _t, Column5 = _t, Column6 = _t, Column7 = _t, Column8 = _t, Column9 = _t, Column10 = _t, Column11 = _t, Column12 = _t]),
SplitColumnsBy = 6,
StepBackToSource = Source,
Append = Table.Combine(List.Transform(List.Split(Table.ToColumns(StepBackToSource), 6), each Table.FromColumns(_, List.FirstN(Table.ColumnNames(StepBackToSource), SplitColumnsBy))))
in
Append
Hi @thedogspollocks,
Define how many columns you want to split in 2nd step SplitColumnsBy.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTICYmMgNgFiUyA2A2JzILYAYksgNjQAESCVhkZKsTrDUFMsAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, Column2 = _t, Column3 = _t, Column4 = _t, Column5 = _t, Column6 = _t, Column7 = _t, Column8 = _t, Column9 = _t, Column10 = _t, Column11 = _t, Column12 = _t]),
SplitColumnsBy = 6,
StepBackToSource = Source,
Append = Table.Combine(List.Transform(List.Split(Table.ToColumns(StepBackToSource), 6), each Table.FromColumns(_, List.FirstN(Table.ColumnNames(StepBackToSource), SplitColumnsBy))))
in
Append
Duplicate your query. Then in one version select columns 1-6. In the other version select columns 7-12. Append both queries (as new, if you want). Disable load for the original queries.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
35 | |
17 | |
12 | |
11 | |
9 |
User | Count |
---|---|
45 | |
27 | |
16 | |
14 | |
13 |