<?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: Problem with &amp;quot;pivote column&amp;quot; function in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251702#M104792</link>
    <description>&lt;P&gt;Tried it too.&lt;/P&gt;&lt;P&gt;I added an index column before the first unpivot:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And after the unpivot step it looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But if I want to pivot it back again I still receive the same error...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any other tips?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 17:21:08 GMT</pubDate>
    <dc:creator>Automater</dc:creator>
    <dc:date>2023-05-24T17:21:08Z</dc:date>
    <item>
      <title>Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251353#M104783</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I have following problem:&lt;BR /&gt;I depivote a table in power query going from this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;to this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;because I need to "translate" the values in the Column "Wert" with a second table. I translate those values and I end up with a table looking like this (only two columns):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The only thing, as I thought, would be pivoting the table again, using the column "Benutzerdefiniert" as the value column. As the aggregation method I chose "do not aggregate" as I want all values back in a table form, looking like the first screenshot just with translated values in the columns.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But everytime it gives me the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression.Error: There weren't enough elements in the enumeration to complete the operation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And from my understanding with the MS documentation this should be possible:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I described my problem well enough, and I'm open for all your tips.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:29:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251353#M104783</guid>
      <dc:creator>Automater</dc:creator>
      <dc:date>2023-05-24T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251456#M104785</link>
      <description>&lt;P&gt;Hi Max,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try going to the Add Column tab &amp;gt; Index Column (dropdown) &amp;gt; From 1 BEFORE your last pivot step.&lt;/P&gt;
&lt;P&gt;This should give Power Query an ID to use in order to reallocate values correctly to columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 15:10:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251456#M104785</guid>
      <dc:creator>BA_Pete</dc:creator>
      <dc:date>2023-05-24T15:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251488#M104788</link>
      <description>&lt;P&gt;Hi Pete,&lt;BR /&gt;thanks for your answer. I tried it and the output looked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The problem here is, that for example the values of line 1,2,3 and 4 should be in one line, here they're splitted.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 15:29:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251488#M104788</guid>
      <dc:creator>Automater</dc:creator>
      <dc:date>2023-05-24T15:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251507#M104790</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok. Try dragging and dropping the Add Index step up your steps list to before your first Unpivot.&lt;/P&gt;
&lt;P&gt;This should give you ID groups after the unpivot that PQ will group back up correctly after the final pivot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 15:39:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251507#M104790</guid>
      <dc:creator>BA_Pete</dc:creator>
      <dc:date>2023-05-24T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251702#M104792</link>
      <description>&lt;P&gt;Tried it too.&lt;/P&gt;&lt;P&gt;I added an index column before the first unpivot:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And after the unpivot step it looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But if I want to pivot it back again I still receive the same error...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any other tips?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 17:21:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3251702#M104792</guid>
      <dc:creator>Automater</dc:creator>
      <dc:date>2023-05-24T17:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "pivote column" function</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3252373#M104825</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you've unpivoted the Index with the other columns.&lt;/P&gt;
&lt;P&gt;Select your index column before the unpivot step, go to the Transform tab &amp;gt; Unpivot Columns (dropdown) &amp;gt; Unpivot Other Columns. This should keep your Index column intact to be used as an ID for the pivot step later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this doesn't work, can you provide your initial data from the following screenshot as copyable data please?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can copy it from Excel and paste it directly in here, or you can paste it into 'Enter Data' in Power Query and copy the M code from that query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pete&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:42:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Problem-with-quot-pivote-column-quot-function/m-p/3252373#M104825</guid>
      <dc:creator>BA_Pete</dc:creator>
      <dc:date>2023-05-25T05:42:43Z</dc:date>
    </item>
  </channel>
</rss>

