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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.