Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
kilala
Resolver I
Resolver I

DirectQuery - Split into Rows

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

 

2 REPLIES 2
Dangar332
Super User
Super User

Hi, @kilala 

 

here sample data

Dangar332_0-1698389330168.png

 

follow below steps

1.  in home tab click on split column after click  By delimeter

Dangar332_1-1698389457656.png

2. click ok and it give you output like below

Dangar332_2-1698389503711.png

3. transpose columns it give you answer like below

Dangar332_3-1698389627765.png

 

download pbix file click HERE 

refer power query part

 

 

 

Dangar332
Super User
Super User

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"

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.