Drill down Rows

Addora

New Member
Joined
Jan 4, 2014
Messages
11
Hello there,

please, I ask for some support at Power BI, I'm new at that fabulous application. I got data from a XML file >> then edit >> as shown I ask for how can I drill or split each line in an autonomy row then fill down the other rows, is that applicable in Power BI, I hope that, please :)


Capture.png
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I don't know if i've understood correctly the request, but i can propose this:

My table:

aaa
Header
1 Line1
2 Line2
3 Line3

<tbody>
</tbody>


In power query:

Code:
let    
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Transformation = Table.AddColumn(Source, "ToRows", each Table.PromoteHeaders(Table.FromList(Text.Split([aaa],("#(lf)")))))
in
    Transformation

At the end:

aaaToRows
Header
1 Line1
2 Line2
3 Line3
Table

<tbody>
</tbody>


ToRows column contains:

Header
1 Line1
2 Line2
3 Line3

<tbody>
</tbody>
 
Last edited:
Upvote 0
My proposal:

Code:
let
    Source = Excel.CurrentWorkbook(){[Name="MultipleLineTable"]}[Content],
    MultipleLineTable = Table.TransformColumnTypes(Source,{{"Column with lines", type text}, {"Other column1", type text}, {"Other column2", type text}}),
    LinesFromText = Table.TransformColumns(MultipleLineTable,{{"Column with lines", Lines.FromText, type text}}),
    Expanded = Table.ExpandListColumn(LinesFromText, "Column with lines")
in
    Expanded
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top