<?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: Unpivot Column with Different Calculation Applied in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171174#M114307</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , I am assuming the first one is the source &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to Deal with Double Headers in Power BI | Free Power BI Tutorials: &lt;A href="https://youtu.be/1e16oHv9kTk" target="_blank"&gt;https://youtu.be/1e16oHv9kTk&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 08:51:53 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-04-04T08:51:53Z</dc:date>
    <item>
      <title>Unpivot Column with Different Calculation Applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3170812#M114283</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to unpivot data matrix using pwoer query but the data calculation is not only using summraize but also average since the value have different value format, iie. absolute number and percentage. Is it possible to apply this purpose using unpivot column in power query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data matrix example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would like to convert (unpivot) and visualize the table into this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Kindly share your thoughts on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 05:10:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3170812#M114283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-04T05:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unpivot Column with Different Calculation Applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171174#M114307</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , I am assuming the first one is the source &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to Deal with Double Headers in Power BI | Free Power BI Tutorials: &lt;A href="https://youtu.be/1e16oHv9kTk" target="_blank"&gt;https://youtu.be/1e16oHv9kTk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 08:51:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171174#M114307</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-04-04T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unpivot Column with Different Calculation Applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171319#M114319</link>
      <description>&lt;P&gt;Hi Amit,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing your thought. However the steps is still not achieve what I need to perform different calculation type per-each category/indicator As you may see in the scond table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:52:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171319#M114319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-04T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unpivot Column with Different Calculation Applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171408#M114324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Total Target (Switch) =
IF (
    CONTAINSSTRING ( MAX ( 'Table'[Indicator] ), "%" ),
    AVERAGEX ( VALUES ( 'Date'[YearMonth] ), [Total Target] ),
    SUMX ( VALUES ( 'Date'[YearMonth] ), [Total Target] )
)&lt;/LI-CODE&gt;
&lt;P&gt;Same for total actual&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:30:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Unpivot-Column-with-Different-Calculation-Applied/m-p/3171408#M114324</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-04T10:30:12Z</dc:date>
    </item>
  </channel>
</rss>

