<?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: POWERBI TRANSFORM TABLE TO AN OTHER in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3563448#M45590</link>
    <description>&lt;P&gt;Glad it helped&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Have a nice weekend!&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 16:35:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-01T16:35:12Z</dc:date>
    <item>
      <title>POWERBI TRANSFORM TABLE TO AN OTHER</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3561465#M45570</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to be able to transform table 1 into 2 from the settings table.&lt;BR /&gt;Purpose: duplicate the rows of table 1 in order to have all the indices of CCT1 column (here between 1 and 6), which gives table 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sebsenciel_0-1701362044965.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1004718i29AE3FAA20627625/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sebsenciel_0-1701362044965.png" alt="sebsenciel_0-1701362044965.png" /&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;Thank's a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 16:35:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3561465#M45570</guid>
      <dc:creator>sebsenciel</dc:creator>
      <dc:date>2023-11-30T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: POWERBI TRANSFORM TABLE TO AN OTHER</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3562997#M45585</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;it seems that what you want to achieve is basically a cross join parameter table. As in merge there's no cross join the way to achieve this is using a custom column referencing the second table as you can see here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/cross-join" target="_blank"&gt;Cross join - Power Query | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;Now in your case what you can do to achieve a similar scenario is to create a parameter, for instance maxInt.&lt;BR /&gt;Then add a blank query choose your favorite name for instance MyParameterTable and use this M language snippet&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
     MyParameterQuery = (MaxInt) =&amp;gt; List.Numbers(1,MaxInt)
in
     MyParameterQuery&lt;/LI-CODE&gt;&lt;P&gt;Invoking the function providing parameter value will create the list of value that you need. Default name is Invoked function but you can rename as you prefer. Once you're done with this you can rely on custom column and then expand rows as in following snippet.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUXIBYnelWJ1oJScgyxWIPcA8ZyDLDYg9lWJjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Col1 = _t, Col2 = _t, Col3 = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Col1", type text}, {"Col2", type text}, {"Col3", type text}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each #"Invoked Function"),
    #"Renamed Columns" = Table.RenameColumns(#"Added Custom",{{"Custom", "Param"}}),
    #"Expanded Param" = Table.ExpandListColumn(#"Renamed Columns", "Param")
in
    #"Expanded Param"&lt;/LI-CODE&gt;&lt;P&gt;Hope it helped!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 12:00:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3562997#M45585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-01T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: POWERBI TRANSFORM TABLE TO AN OTHER</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3563404#M45589</link>
      <description>&lt;P&gt;Hello Xunh,&lt;BR /&gt;Thank you for your reply... BRILLIANT reply, in fact &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Much appreciated&lt;BR /&gt;Thank you from the bottom of my heart&lt;BR /&gt;Thanks again&lt;BR /&gt;Have a great day&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 16:02:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3563404#M45589</guid>
      <dc:creator>sebsenciel</dc:creator>
      <dc:date>2023-12-01T16:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: POWERBI TRANSFORM TABLE TO AN OTHER</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3563448#M45590</link>
      <description>&lt;P&gt;Glad it helped&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Have a nice weekend!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 16:35:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/POWERBI-TRANSFORM-TABLE-TO-AN-OTHER/m-p/3563448#M45590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-01T16:35:12Z</dc:date>
    </item>
  </channel>
</rss>

