<?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: Create new columns with first and last header retrieved from component and header column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998891#M101162</link>
    <description>&lt;P&gt;Just to clraify , for the second hierarchy, the start header should be 6. Isn't it?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 15:15:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-03T15:15:42Z</dc:date>
    <item>
      <title>Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998862#M101157</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have data of the column Component and Header available and want to create to extra columns which return the start and end header like in the example below. Anyone who knows how to do so? (either in DAX (measure or calculated column) or PowerQuery).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you go from 1--&amp;gt;2--&amp;gt;3--&amp;gt;4 which means the start header is 2 and end header is 4&lt;/P&gt;&lt;P&gt;So you go from 5--&amp;gt;6--&amp;gt;7--&amp;gt;8 which means the start header is 6 and end header is 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Component&lt;/TD&gt;&lt;TD&gt;Header&lt;/TD&gt;&lt;TD&gt;StartHeader&lt;/TD&gt;&lt;TD&gt;EndHeader&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 15:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998862#M101157</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-03T15:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998891#M101162</link>
      <description>&lt;P&gt;Just to clraify , for the second hierarchy, the start header should be 6. Isn't it?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 15:15:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998891#M101162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-03T15:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998900#M101166</link>
      <description>&lt;P&gt;Sorry, for the second hierarchy it should indeed be 6. I edited it in the original post.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 15:24:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998900#M101166</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-03T15:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998989#M101174</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226999" data-lia-user-login="Nijlal01" class="lia-mention lia-mention-user"&gt;Nijlal01&lt;/a&gt;&amp;nbsp;, so you want to calculate the values for [Start Header] and [End Header] from the values in [Component] and [Header], is that right?&lt;/P&gt;&lt;P&gt;In the sample data given, for the three rows with [Component] 1, 2, and 3, you have [End Header] of 4. What logic do you use to get an [End Header] value of 4?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:09:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998989#M101174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-03T16:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998998#M101175</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226999" data-lia-user-login="Nijlal01" class="lia-mention lia-mention-user"&gt;Nijlal01&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please create new calculated column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;StartHeader =
MINX (
    FILTER (
        'Table',
        QUOTIENT ( 'Table'[Component], 4 )
            = QUOTIENT ( EARLIER ( 'Table'[Component] ), 4 )
    ),
    'Table'[Header]
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replace MINX with MAXX for EndHeader&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you can create a calculated column&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Rank =
QUOTIENT ( 'Table'[Component], 4 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you can do&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;StartHeader =
CALCULATE ( MIN ( 'Table'[Component] ), ALLEXCEPT ( 'Table', 'Table'[Rank] ) )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 12:50:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998998#M101175</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-04T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998999#M101176</link>
      <description>&lt;P&gt;Thats right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The logic to determine is done by my head for this example. I could not think of an easy technical way in dax/powerquery/excel thats why I posted this challenge ;). The reasoning why I want this is to be able to filter on a start/end header and see all steps after/before.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 16:14:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/2998999#M101176</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-03T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3000964#M101300</link>
      <description>&lt;P&gt;Here's my approach usin PowerQuery only. The Final table - Query 6 should give you the result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query1:&amp;nbsp;ComponentHeader Source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTJSitWJBpI6SsZgljGQZQJmmQJZZmCWGZBlDmaZA1kWSrGxAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Component = _t, Header = _t]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(Source,{{"Component", type text}, {"Header", type text}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query2:&amp;nbsp;ComponentHeader Source - Headers&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = #"ComponentHeader Source",&lt;BR /&gt;#"Removed Columns" = Table.RemoveColumns(Source,{"Component"}),&lt;BR /&gt;#"Renamed Columns" = Table.RenameColumns(#"Removed Columns",{{"Header", "Component"}})&lt;BR /&gt;in&lt;BR /&gt;#"Renamed Columns"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query3:&amp;nbsp;&amp;nbsp;ComponentHeader Source - Components&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = #"ComponentHeader Source",&lt;BR /&gt;#"Removed Columns" = Table.RemoveColumns(Source,{"Header"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Columns"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query4:&amp;nbsp;Components HighestParent&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.Combine({#"ComponentHeader Source - Components", #"ComponentHeader Source - Headers"}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(Source),&lt;BR /&gt;#"Merged Queries" = Table.NestedJoin(#"Removed Duplicates", {"Component"}, #"ComponentHeader Source", {"Component"}, "ComponentHeaderHierachy", JoinKind.LeftOuter),&lt;BR /&gt;#"Expanded ComponentHeaderHierachy - Ref" = Table.ExpandTableColumn(#"Merged Queries", "ComponentHeaderHierachy", {"Header"}, {"Header"}),&lt;BR /&gt;#"Inserted Merged Column" = Table.AddColumn(#"Expanded ComponentHeaderHierachy - Ref", "CHKey", each Text.Combine({"C", Text.From([Component], "da-DK"), "H", Text.From([Header], "da-DK")}), type text),&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ListChild = List.Buffer( #"Inserted Merged Column"[Component] ),&lt;BR /&gt;ListParent = List.Buffer( #"Inserted Merged Column"[Header] ),&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;fnGetHighestParent = (n as text) as text =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;PosOfParent = List.PositionOf( ListChild, n ),&lt;BR /&gt;ParID = ListParent{PosOfParent}&lt;BR /&gt;in&lt;BR /&gt;if ParID = null then ListChild{PosOfParent} else @fnGetHighestParent(ListParent{PosOfParent}),&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;HighestParent = Table.AddColumn( #"Inserted Merged Column",&lt;BR /&gt;"HighestParent",&lt;BR /&gt;each fnGetHighestParent( [Component] ),&lt;BR /&gt;type text)&lt;BR /&gt;in&lt;BR /&gt;HighestParent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query5:&amp;nbsp;Components LowestParent&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.Combine({#"ComponentHeader Source - Components", #"ComponentHeader Source - Headers"}),&lt;BR /&gt;#"Removed Duplicates1" = Table.Distinct(Source),&lt;BR /&gt;#"Renamed Columns" = Table.RenameColumns(#"Removed Duplicates1",{{"Component", "Header"}}),&lt;BR /&gt;#"Merged Queries" = Table.NestedJoin(#"Renamed Columns", {"Header"}, #"ComponentHeader Source", {"Header"}, "ComponentHeaderHierachy", JoinKind.LeftOuter),&lt;BR /&gt;#"Expanded ComponentHeaderHierachy" = Table.ExpandTableColumn(#"Merged Queries", "ComponentHeaderHierachy", {"Component"}, {"ComponentHeaderHierachy.Component"}),&lt;BR /&gt;#"Renamed Columns1" = Table.RenameColumns(#"Expanded ComponentHeaderHierachy",{{"ComponentHeaderHierachy.Component", "Component"}}),&lt;BR /&gt;#"Inserted Merged Column" = Table.AddColumn(#"Renamed Columns1", "CHKey", each Text.Combine({"C", Text.From([Component], "da-DK"), "H", Text.From([Header], "da-DK")}), type text),&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ListChild = List.Buffer( #"Inserted Merged Column"[Header] ),&lt;BR /&gt;ListParent = List.Buffer( #"Inserted Merged Column"[Component] ),&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;fnGetHighestParent = (n as text) as text =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;PosOfParent = List.PositionOf( ListChild, n ),&lt;BR /&gt;ParID = ListParent{PosOfParent}&lt;BR /&gt;in&lt;BR /&gt;if ParID = null then ListChild{PosOfParent} else @fnGetHighestParent(ListParent{PosOfParent}) &amp;amp; "|" &amp;amp; n ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LowestParent = Table.AddColumn( #"Inserted Merged Column",&lt;BR /&gt;"LowestParent",&lt;BR /&gt;each Text.Middle(fnGetHighestParent( [Header] ), 2, 1),&lt;BR /&gt;type text),&lt;BR /&gt;#"Reordered Columns" = Table.ReorderColumns(LowestParent,{"Component", "Header", "CHKey", "LowestParent"})&lt;BR /&gt;in&lt;BR /&gt;#"Reordered Columns"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query6:&amp;nbsp;ComponentHeader FinalTable&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.NestedJoin(#"Components LowestParent", {"CHKey"}, #"Components HighestParent", {"CHKey"}, "Components HighestParent", JoinKind.FullOuter),&lt;BR /&gt;#"Expanded Components Append (2)" = Table.ExpandTableColumn(Source, "Components HighestParent", {"HighestParent"}, {"HighestParent"}),&lt;BR /&gt;#"Filtered Rows" = Table.SelectRows(#"Expanded Components Append (2)", each ([Component] &amp;lt;&amp;gt; null))&lt;BR /&gt;in&lt;BR /&gt;#"Filtered Rows"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 12:46:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3000964#M101300</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-04T12:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001326#M101339</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A little bit extended example. The component and header codes are created by the system and not necessarily higher for a component then a header or the other way around&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Component Code&lt;/TD&gt;&lt;TD&gt;Component Desc&lt;/TD&gt;&lt;TD&gt;Header&lt;/TD&gt;&lt;TD&gt;Header Desc&lt;/TD&gt;&lt;TD&gt;&lt;EM&gt;&lt;STRONG&gt;StartHeader&lt;/STRONG&gt;&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;27869&lt;/TD&gt;&lt;TD&gt;Malt&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;TD&gt;Wort&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;TD&gt;Wort&lt;/TD&gt;&lt;TD&gt;100047&lt;/TD&gt;&lt;TD&gt;Green Beer&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100047&lt;/TD&gt;&lt;TD&gt;Green Beer&lt;/TD&gt;&lt;TD&gt;100223&lt;/TD&gt;&lt;TD&gt;Mature Beer&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100223&lt;/TD&gt;&lt;TD&gt;Mature Beer&lt;/TD&gt;&lt;TD&gt;116809&lt;/TD&gt;&lt;TD&gt;Bright Beer Keg&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100223&lt;/TD&gt;&lt;TD&gt;Mature Beer&lt;/TD&gt;&lt;TD&gt;175772&lt;/TD&gt;&lt;TD&gt;Bright Beer Can&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;100223&lt;/TD&gt;&lt;TD&gt;Mature Beer&lt;/TD&gt;&lt;TD&gt;175773&lt;/TD&gt;&lt;TD&gt;Bright Beer Bottle&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;116809&lt;/TD&gt;&lt;TD&gt;Bright Beer Keg&lt;/TD&gt;&lt;TD&gt;175515&lt;/TD&gt;&lt;TD&gt;Keg 50L&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;116809&lt;/TD&gt;&lt;TD&gt;Bright Beer Keg&lt;/TD&gt;&lt;TD&gt;175516&lt;/TD&gt;&lt;TD&gt;Keg 30L&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;175773&lt;/TD&gt;&lt;TD&gt;Bright Beer Bottle&lt;/TD&gt;&lt;TD&gt;175540&lt;/TD&gt;&lt;TD&gt;Bottle 33Cl&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;175772&lt;/TD&gt;&lt;TD&gt;Bright Beer Can&lt;/TD&gt;&lt;TD&gt;174946&lt;/TD&gt;&lt;TD&gt;Can 33 Cl&lt;/TD&gt;&lt;TD&gt;100097&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 04 Jan 2023 15:15:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001326#M101339</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-04T15:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001345#M101344</link>
      <description>&lt;P&gt;The PowerQuery I posted below should work regardless &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please check.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 15:26:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001345#M101344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-04T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001376#M101347</link>
      <description>&lt;P&gt;Wooow! First time I did copy queries like this but it worked:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I do it correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now I have to retrieve it from the real Bill of Material table instead of the manually created simplified one.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 15:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001376#M101347</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-04T15:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001908#M101381</link>
      <description>&lt;P&gt;Please mark my answer as solution as it worked for you.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 21:09:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3001908#M101381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-04T21:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3002728#M101441</link>
      <description>&lt;P&gt;I think you have marked your post as the solution. I proposed my answer in another post below.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 08:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3002728#M101441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-05T08:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3005741#M101688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatly I do not get it to work with the real data. Partially because the length of component and header are not always the same, but I think also more is going on. I added the real data in the link:&amp;nbsp;&lt;A href="https://1drv.ms/u/s!AtVSbJ_QI8gshbEp63CfW_kjNTz4QQ?e=tCHY2C" target="_self"&gt;https://1drv.ms/u/s!AtVSbJ_QI8gshbEp63CfW_kjNTz4QQ?e=tCHY2C&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me out in finding out what is going wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 13:04:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3005741#M101688</guid>
      <dc:creator>Nijlal01</dc:creator>
      <dc:date>2023-01-06T13:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create new columns with first and last header retrieved from component and header column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3005989#M101707</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226999" data-lia-user-login="Nijlal01" class="lia-mention lia-mention-user"&gt;Nijlal01&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide little more clarification. At least please provide the expected results for the sample data in the excel sheet perhaps we can understand the patern that you're looking for.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:55:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-new-columns-with-first-and-last-header-retrieved-from/m-p/3005989#M101707</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-01-06T14:55:08Z</dc:date>
    </item>
  </channel>
</rss>

