This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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"
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 25 | |
| 23 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 22 |