Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I know that we cannot implement split into rows in directquery mode, but is there a workaround i can follow?
The examples i found is only split into column, not rows. if anyone can find any artcle or used to do it, appreciate if you can share the article here.
Basically, i just want to split these by delimiter ";".
e.g:
1 row = A;B;C
result:
3 rows
A
B
C
hi, @kilala
try below code in power query
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMrQ2sjZWio0FAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [row = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"row", type text}}),
#"Split Column by Delimiter" = Table.SplitColumn(#"Changed Type", "row", Splitter.SplitTextByDelimiter(";", QuoteStyle.Csv), {"row.1", "row.2", "row.3"}),
#"Changed Type1" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"row.1", Int64.Type}, {"row.2", Int64.Type}, {"row.3", Int64.Type}}),
#"Transposed Table" = Table.Transpose(#"Changed Type1")
in
#"Transposed Table"
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 36 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |