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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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