<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: need solution to Rearrange with Excel data //attach file in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3311030#M106944</link>
    <description>&lt;P&gt;i've test your code and it really broke T_T&amp;nbsp;&lt;/P&gt;&lt;P&gt;because If you put no. 1-2-3 behind attribure out (participate,type,ratio)&amp;nbsp;&lt;/P&gt;&lt;P&gt;the resulf will not connect to the correct position.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;look&amp;nbsp; &amp;nbsp;the result data have to be&lt;/P&gt;&lt;P&gt;Mr.AAA = Head = 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in your result&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mr. AAA = Head = 10&amp;nbsp; and other rows also switch so on..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jul 2023 07:54:31 GMT</pubDate>
    <dc:creator>GhostTIT</dc:creator>
    <dc:date>2023-07-01T07:54:31Z</dc:date>
    <item>
      <title>need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3303893#M106601</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SET&lt;/TD&gt;&lt;TD&gt;participant1&lt;/TD&gt;&lt;TD&gt;type&lt;/TD&gt;&lt;TD&gt;ratio%&lt;/TD&gt;&lt;TD&gt;participant2&lt;/TD&gt;&lt;TD&gt;type2&lt;/TD&gt;&lt;TD&gt;ratio%2&lt;/TD&gt;&lt;TD&gt;participant3&lt;/TD&gt;&lt;TD&gt;type3&lt;/TD&gt;&lt;TD&gt;ratio%3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Mr.AAA&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;Mr.John&lt;/TD&gt;&lt;TD&gt;partner&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;TD&gt;Mr.One&lt;/TD&gt;&lt;TD&gt;assistant&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Mr.BBB&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Mrs.CCC&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;TD&gt;Mrs.Sarah&lt;/TD&gt;&lt;TD&gt;assistant&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;Mrs.three&lt;/TD&gt;&lt;TD&gt;partner&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[top] I want to rearrange with 50 SET, each Set has 10 participants (3 columns in 1 participant)&lt;/P&gt;&lt;P&gt;I want to transform to data [below]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SET&lt;/TD&gt;&lt;TD&gt;Participant&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Ratio%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Mr.AAA&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Mr.John&lt;/TD&gt;&lt;TD&gt;partner&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Mr.One&lt;/TD&gt;&lt;TD&gt;assistant&lt;/TD&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Mr.BBB&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Mrs.CCC&lt;/TD&gt;&lt;TD&gt;Head&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Mrs.Sarah&lt;/TD&gt;&lt;TD&gt;assistant&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Mrs.three&lt;/TD&gt;&lt;TD&gt;partner&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to do it , i try unpivot column many times and get stunning T_T&lt;/P&gt;&lt;P&gt;thank you so much.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;file attach :&amp;nbsp;&lt;A title="excel file" href="https://we.tl/t-eOIjE5uuYO" target="_self"&gt;download excel file&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:45:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3303893#M106601</guid>
      <dc:creator>GhostTIT</dc:creator>
      <dc:date>2023-06-27T08:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3304097#M106615</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;let&lt;BR /&gt;Source = YourSource,&lt;BR /&gt;Data = Table.AddColumn(Source, "Data", each Table.FromRows(List.Split(List.Skip(Record.ToList(_)),3),{"Participant", "Type", "Ratio%"})),&lt;BR /&gt;SelectColumns = Table.SelectColumns(Data,{"SET", "Data"}),&lt;BR /&gt;Expand = Table.ExpandTableColumn(SelectColumns, "Data", {"Participant", "Type", "Ratio%"}, {"Participant", "Type", "Ratio%"})&lt;BR /&gt;in&lt;BR /&gt;Expand&lt;/PRE&gt;&lt;P&gt;Stéphane&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 10:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3304097#M106615</guid>
      <dc:creator>slorin</dc:creator>
      <dc:date>2023-06-27T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3304651#M106652</link>
      <description>&lt;P&gt;It's not working ... code is....&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;//OLD FirstRUN&lt;BR /&gt;/*&lt;BR /&gt;let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("C:\Users\Ghost-ROG\Desktop\rearrange_data.xlsx"), null, true),&lt;BR /&gt;Table1_Table = Source{[Item="Table1",Kind="Table"]}[Data],&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(Table1_Table,{{"SET", Int64.Type}, {"participant1", type text}, {"type", type text}, {"ratio%", Int64.Type}, {"participant2", type text}, {"type2", type text}, {"ratio%2", Int64.Type}, {"participant3", type text}, {"type3", type text}, {"ratio%32", Int64.Type}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;//NEW *not working&lt;BR /&gt;let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("C:\Users\Ghost-ROG\Desktop\rearrange_data.xlsx"), null, true),&lt;BR /&gt;Data = Table.AddColumn(Source, "&lt;FONT color="#FF0000"&gt;Data&lt;/FONT&gt;", each Table.FromRows(List.Split(List.Skip(Record.ToList(_)),3),{"Participant", "Type", "Ratio%"})),&lt;BR /&gt;SelectColumns = Table.SelectColumns(Data,{"&lt;FONT color="#00FF00"&gt;SET&lt;/FONT&gt;", "Data"}),&lt;BR /&gt;Expand = Table.ExpandTableColumn(SelectColumns, "Data", {"Participant", "Type", "Ratio%"}, {"Participant", "Type", "Ratio%"})&lt;BR /&gt;in&lt;BR /&gt;Expand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;At first it show ": The field '&lt;FONT color="#FF0000"&gt;Data&lt;/FONT&gt;' already exists in the record."&lt;/P&gt;&lt;P&gt;then I change &lt;FONT color="#FF0000"&gt;Data&lt;/FONT&gt; to &lt;FONT color="#FF0000"&gt;Data1&lt;/FONT&gt; in line2&lt;/P&gt;&lt;P&gt;it show&amp;nbsp;The column '&lt;FONT color="#00FF00"&gt;SET&lt;/FONT&gt;' of the table wasn't found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i should do next?&lt;/P&gt;&lt;P&gt;and I don't understand that code. Is it have to write down the whole code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 15:51:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3304651#M106652</guid>
      <dc:creator>GhostTIT</dc:creator>
      <dc:date>2023-06-27T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3305579#M106688</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="581139" data-lia-user-login="GhostTIT" class="lia-mention lia-mention-user"&gt;GhostTIT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    to_rows = List.Buffer(List.Transform(Table.ToRows(Source), (x) =&amp;gt; List.RemoveNulls(x))),
    f = (lst as list) =&amp;gt;
        [a = List.First(lst),
        b = List.Split(List.Skip(lst), 3),
        c = List.Transform(b, (x) =&amp;gt; {a} &amp;amp; x)][c],
    out = Table.FromRows(List.Combine(List.Transform(to_rows, f)), {"SET", "Participant", "Type", "Ratio%"})
in
    out&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:02:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3305579#M106688</guid>
      <dc:creator>AlienSx</dc:creator>
      <dc:date>2023-06-28T06:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3305588#M106689</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There's a step between Source and Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table1_Table = Source{[Item="Table1",Kind="Table"]}[Data],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Stéphane&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 06:09:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3305588#M106689</guid>
      <dc:creator>slorin</dc:creator>
      <dc:date>2023-06-28T06:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3307290#M106764</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="581139" data-lia-user-login="GhostTIT" class="lia-mention lia-mention-user"&gt;GhostTIT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first method is to copy out two tables, three tables with different participant, type, and ratio. Then append to ensure that the column names are consistent.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/append-queries" target="_blank"&gt;Append queries - Power Query | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The second method is as follows.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUfIt0nN0dAQyPFITU4CUqQFE0Cs/Iw/IKkgsKslLLQKyjEwhEv55qUBGYnFxZnFJYl4JRCZWJ1rJCCLv5OSEMM3QAGQcOgKpNoaoTk5ORqi2gNhdrBecWJSYgWYLTK4koyg1FcVlhgZKsbEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [SET = _t, participant1 = _t, #"type" = _t, #"ratio%" = _t, participant2 = _t, type2 = _t, #"ratio%2" = _t, participant3 = _t, type3 = _t, #"ratio%3" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"SET", Int64.Type}, {"participant1", type text}, {"type", type text}, {"ratio%", Int64.Type}, {"participant2", type text}, {"type2", type text}, {"ratio%2", Int64.Type}, {"participant3", type text}, {"type3", type text}, {"ratio%3", Int64.Type}}),
    #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"SET"}, "Attribute", "Value"),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Unpivoted Other Columns", "Attribute", Splitter.SplitTextByDelimiter("1", QuoteStyle.Csv), {"Attribute.1", "Attribute.2"}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Attribute.1", type text}, {"Attribute.2", type text}}),
    #"Split Column by Delimiter1" = Table.SplitColumn(#"Changed Type1", "Attribute.1", Splitter.SplitTextByDelimiter("2", QuoteStyle.Csv), {"Attribute.1.1", "Attribute.1.2"}),
    #"Changed Type2" = Table.TransformColumnTypes(#"Split Column by Delimiter1",{{"Attribute.1.1", type text}, {"Attribute.1.2", type text}}),
    #"Split Column by Delimiter2" = Table.SplitColumn(#"Changed Type2", "Attribute.1.1", Splitter.SplitTextByDelimiter("3", QuoteStyle.Csv), {"Attribute.1.1.1", "Attribute.1.1.2"}),
    #"Changed Type3" = Table.TransformColumnTypes(#"Split Column by Delimiter2",{{"Attribute.1.1.1", type text}, {"Attribute.1.1.2", type text}}),
    #"Removed Columns" = Table.RemoveColumns(#"Changed Type3",{"Attribute.1.1.2", "Attribute.1.2", "Attribute.2"}),
    #"Sorted Rows" = Table.Sort(#"Removed Columns",{{"Attribute.1.1.1", Order.Ascending}}),
    #"Grouped Rows" = Table.Group(#"Sorted Rows", {"Attribute.1.1.1"}, {{"Count", each _, type table [#"SET - Copy"=nullable number, Attribute.1.1.1=nullable text, Value=any]}}),
    #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Custom", each Table.AddIndexColumn([Count],"Index",1)),
    #"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Value", "Index"}, {"Custom.Value", "Custom.Index"}),
    #"Removed Columns1" = Table.RemoveColumns(#"Expanded Custom",{"Count"}),
    #"Pivoted Column" = Table.Pivot(#"Removed Columns1", List.Distinct(#"Removed Columns1"[Attribute.1.1.1]), "Attribute.1.1.1", "Custom.Value"),
    #"Filtered Rows" = Table.SelectRows(#"Pivoted Column", each ([#"ratio%"] &amp;lt;&amp;gt; null))
in
    #"Filtered Rows"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;You download my attachment for more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Stephen Tao&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 02:59:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3307290#M106764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-29T02:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: need solution to Rearrange with Excel data //attach file</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3311030#M106944</link>
      <description>&lt;P&gt;i've test your code and it really broke T_T&amp;nbsp;&lt;/P&gt;&lt;P&gt;because If you put no. 1-2-3 behind attribure out (participate,type,ratio)&amp;nbsp;&lt;/P&gt;&lt;P&gt;the resulf will not connect to the correct position.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;look&amp;nbsp; &amp;nbsp;the result data have to be&lt;/P&gt;&lt;P&gt;Mr.AAA = Head = 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but in your result&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mr. AAA = Head = 10&amp;nbsp; and other rows also switch so on..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jul 2023 07:54:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/need-solution-to-Rearrange-with-Excel-data-attach-file/m-p/3311030#M106944</guid>
      <dc:creator>GhostTIT</dc:creator>
      <dc:date>2023-07-01T07:54:31Z</dc:date>
    </item>
  </channel>
</rss>

