<?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: Matrix with several measures grouped by topic in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-several-measures-grouped-by-topic/m-p/4008721#M157390</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="765154" data-lia-user-login="simpletech_data" class="lia-mention lia-mention-user"&gt;simpletech_data&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the following formula in matrix to fill in the result of 1, 2 and so on with the result you want to calculate.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;diff_ =
IF (
    ISFILTERED ( 'Table'[Attribute] )
        &amp;amp;&amp;amp; MAX ( 'Table'[Attribute] ) = "Difference",
    1,
    IF (
        ISFILTERED ( 'Table'[Attribute] )
            &amp;amp;&amp;amp; MAX ( 'Table'[Attribute] ) = "Goal",
        2,
        0
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Adamk Kong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 08:43:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-25T08:43:44Z</dc:date>
    <item>
      <title>Matrix with several measures grouped by topic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-several-measures-grouped-by-topic/m-p/4007443#M157003</link>
      <description>&lt;P&gt;Hello guys! I would like if it is possible and how is the best way to create the following matrix in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each row represents a topic:&lt;BR /&gt;1st row - revenue related measures&lt;/P&gt;&lt;P&gt;2nd row - investment related measures&lt;/P&gt;&lt;P&gt;3rd row - profit related measures&lt;/P&gt;&lt;P&gt;and it goes on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for each row, there is 5 columns to calculate these topics in different ways. For exemple:&lt;BR /&gt;For revenue:&lt;BR /&gt;- The actual day revenue&lt;BR /&gt;- The average from last 7 days&lt;/P&gt;&lt;P&gt;- MTD revenue&lt;/P&gt;&lt;P&gt;- Monthly goal&lt;/P&gt;&lt;P&gt;- Difference between MTD and goal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This repeats for every row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use the matrix visual but I couldn't find the settings to transform it like the picture.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 17:14:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-several-measures-grouped-by-topic/m-p/4007443#M157003</guid>
      <dc:creator>simpletech_data</dc:creator>
      <dc:date>2024-06-24T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix with several measures grouped by topic</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-several-measures-grouped-by-topic/m-p/4008721#M157390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="765154" data-lia-user-login="simpletech_data" class="lia-mention lia-mention-user"&gt;simpletech_data&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the following formula in matrix to fill in the result of 1, 2 and so on with the result you want to calculate.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;diff_ =
IF (
    ISFILTERED ( 'Table'[Attribute] )
        &amp;amp;&amp;amp; MAX ( 'Table'[Attribute] ) = "Difference",
    1,
    IF (
        ISFILTERED ( 'Table'[Attribute] )
            &amp;amp;&amp;amp; MAX ( 'Table'[Attribute] ) = "Goal",
        2,
        0
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Adamk Kong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 08:43:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-with-several-measures-grouped-by-topic/m-p/4008721#M157390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-25T08:43:44Z</dc:date>
    </item>
  </channel>
</rss>

