<?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 Challenges in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3319491#M43387</link>
    <description>&lt;P&gt;In your test file, this works pretty much as expected, but integration this into my existing report, I keep hitting a wall. All the dimension tables are showing the merged data, but even though my table relationships match, but as soon as I add any of the Dimension columns into the Matrx, it cannot find the relationship between fields, presumably up to the Project Table as that is the table for the first 2 Rows fields. Adding the 3rd row(any dimension table column), doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't share the PBIX as it has internal data and connected internally and wouldn't connect anyway...&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2023 02:37:49 GMT</pubDate>
    <dc:creator>jmfillman</dc:creator>
    <dc:date>2023-07-07T02:37:49Z</dc:date>
    <item>
      <title>Matrix Challenges</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3313396#M43335</link>
      <description>&lt;P&gt;The Matrix visual is something I am really struggling to understand in relation to my data, and after days of trying, I cannot get what I need. I have a Pro, not Enterprise account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 4 tables (also see the first image):&lt;/P&gt;&lt;P&gt;1) Project Table&lt;/P&gt;&lt;P&gt;2) Plan Table (Many to One to &lt;U&gt;&lt;STRONG&gt;Project&lt;/STRONG&gt;&lt;/U&gt; Table)&lt;/P&gt;&lt;P&gt;3) Requested (Many to One to &lt;STRONG&gt;&lt;U&gt;Plan&lt;/U&gt;&lt;/STRONG&gt; Table)&lt;/P&gt;&lt;P&gt;4) Approved (Many to One to &lt;STRONG&gt;&lt;U&gt;Plan&lt;/U&gt;&lt;/STRONG&gt; Table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Demonstrated in Excel, tables are in BI Dataflow with a Dataset and Report.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmfillman_0-1688428930880.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936692i77BFE1901C3375DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jmfillman_0-1688428930880.png" alt="jmfillman_0-1688428930880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to achieve something like the below image and a Matrix seems the appropriate visual. I have been able to get something close (although still not quite), if I only use the Requested Plan table OR the Approved Plan table, but not together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jmfillman_1-1688429168592.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/936693i6FEACFA1A7229AD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jmfillman_1-1688429168592.png" alt="jmfillman_1-1688429168592.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been trying things for days and just not making progress. Any solutions or similar examples you might point me to would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 00:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3313396#M43335</guid>
      <dc:creator>jmfillman</dc:creator>
      <dc:date>2023-07-04T00:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix Challenges</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3315463#M43347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/522355"&gt;@jmfillman&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I suggest you to create three dim tables to help you calculating.&lt;/P&gt;
&lt;P&gt;My Test:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_0-1688536949271.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/937312i41E2A80BE39D517D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_0-1688536949271.png" alt="vrzhoumsft_0-1688536949271.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DimGroup = FILTER(DISTINCT(UNION(VALUES('Approved Plan'[Group]),VALUES('Requested Plan'[Group]))),[Group]&amp;lt;&amp;gt;BLANK())&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;DimQuarter = FILTER(DISTINCT(UNION(VALUES('Approved Plan'[Fiscal Quarter]),VALUES('Requested Plan'[Fiscal Quarter]))),[Fiscal Quarter]&amp;lt;&amp;gt;BLANK())&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;DimYear = FILTER(DISTINCT(UNION(VALUES('Approved Plan'[Fiscal Year]),VALUES('Requested Plan'[Fiscal Year]))),[Fiscal Year]&amp;lt;&amp;gt;BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;Measures:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Approved = 
CALCULATE (
    SUM ( 'Approved Plan'[Approved Hour] ),
    FILTER (
        'Approved Plan',
        'Approved Plan'[State] = "Approved"
            &amp;amp;&amp;amp; 'Approved Plan'[Group] = MAX ( DimGroup[Group] )
            &amp;amp;&amp;amp; 'Approved Plan'[Fiscal Year] = MAX ( DimYear[Fiscal Year] )
            &amp;amp;&amp;amp; 'Approved Plan'[Fiscal Quarter] = MAX ( DimQuarter[Fiscal Quarter] )
    )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Planned = 
CALCULATE (
    SUM ( 'Requested Plan'[Planned Hour] ),
    FILTER (
        'Requested Plan',
        'Requested Plan'[State] = "Planned"
            &amp;amp;&amp;amp; 'Requested Plan'[Group] = MAX ( DimGroup[Group] )
            &amp;amp;&amp;amp; 'Requested Plan'[Fiscal Year] = MAX ( DimYear[Fiscal Year] )
            &amp;amp;&amp;amp; 'Requested Plan'[Fiscal Quarter] = MAX ( DimQuarter[Fiscal Quarter] )
    )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Requested = 
CALCULATE (
    SUM ( 'Requested Plan'[Planned Hour] ),
    FILTER (
        'Requested Plan',
        'Requested Plan'[State] = "Requested"
            &amp;amp;&amp;amp; 'Requested Plan'[Group] = MAX ( DimGroup[Group] )
            &amp;amp;&amp;amp; 'Requested Plan'[Fiscal Year] = MAX ( DimYear[Fiscal Year] )
            &amp;amp;&amp;amp; 'Requested Plan'[Fiscal Quarter] = MAX ( DimQuarter[Fiscal Quarter] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrzhoumsft_1-1688537050067.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/937313i4249A8C2C7CB9F16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrzhoumsft_1-1688537050067.png" alt="vrzhoumsft_1-1688537050067.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 06:04:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3315463#M43347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-05T06:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix Challenges</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3319022#M43382</link>
      <description>&lt;P&gt;Wow, thank you! Going to have to play with this for a while, but certainly looks to be what I need or enough to ultimately get to what I need.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 18:56:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3319022#M43382</guid>
      <dc:creator>jmfillman</dc:creator>
      <dc:date>2023-07-06T18:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix Challenges</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3319491#M43387</link>
      <description>&lt;P&gt;In your test file, this works pretty much as expected, but integration this into my existing report, I keep hitting a wall. All the dimension tables are showing the merged data, but even though my table relationships match, but as soon as I add any of the Dimension columns into the Matrx, it cannot find the relationship between fields, presumably up to the Project Table as that is the table for the first 2 Rows fields. Adding the 3rd row(any dimension table column), doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't share the PBIX as it has internal data and connected internally and wouldn't connect anyway...&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 02:37:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Matrix-Challenges/m-p/3319491#M43387</guid>
      <dc:creator>jmfillman</dc:creator>
      <dc:date>2023-07-07T02:37:49Z</dc:date>
    </item>
  </channel>
</rss>

