<?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: Add a new row to Matrix based on values from other rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3297700#M122903</link>
    <description>&lt;P&gt;Actually, your question&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;sent me back to basics and I reassessed how data should be served up to work in a Matrix.&amp;nbsp; I modified the data structure and it is working fine.&amp;nbsp; I had 3 data tables coming in and was trying to make it too clever.&amp;nbsp; Sometimes it's too easy to get buried in a complex methodology and miss the basics!&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 11:57:41 GMT</pubDate>
    <dc:creator>KGillett</dc:creator>
    <dc:date>2023-06-22T11:57:41Z</dc:date>
    <item>
      <title>Add a new row to Matrix based on values from other rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295130#M122735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've spent more time than I'd like to admit trying to work this out myself, but I've run out of ideas.&amp;nbsp; I suspect this isn't that difficult, if you know where to look.&amp;nbsp; Appreciate any guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to create a series of unions (in DAX) that summarise information and populate nicely into a Matrix.&amp;nbsp; The visual's data looks like this (with the names hidden by the green blobs):&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;This is what I'm trying a achieve:&amp;nbsp;&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;I'm trying to add the highlighted rows to the Matrix by simply doing a calulation of 'Availability' minus 'Bookings' for each Person.&amp;nbsp; I'll call this 'Balance' and show it at the bottom of each Person's records.&amp;nbsp; I have been trying to add another union to do the calculation, but I can't get that to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Guidance appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 09:30:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295130#M122735</guid>
      <dc:creator>KGillett</dc:creator>
      <dc:date>2023-06-21T09:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add a new row to Matrix based on values from other rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295186#M122741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="578421" data-lia-user-login="KGillett" class="lia-mention lia-mention-user"&gt;KGillett&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how does the source data look like?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 09:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295186#M122741</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-21T09:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add a new row to Matrix based on values from other rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295353#M122757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I've found a way.&amp;nbsp; I created a key between my summary tables and used a lookupvalue to pull the data across.&amp;nbsp; I now have the 'Balance' showing correctly in the pivot.&amp;nbsp; I'll post more info when I've worked it through and maybe you can show me how I should have done it.&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 11:03:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3295353#M122757</guid>
      <dc:creator>KGillett</dc:creator>
      <dc:date>2023-06-21T11:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add a new row to Matrix based on values from other rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3297700#M122903</link>
      <description>&lt;P&gt;Actually, your question&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;sent me back to basics and I reassessed how data should be served up to work in a Matrix.&amp;nbsp; I modified the data structure and it is working fine.&amp;nbsp; I had 3 data tables coming in and was trying to make it too clever.&amp;nbsp; Sometimes it's too easy to get buried in a complex methodology and miss the basics!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 11:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-a-new-row-to-Matrix-based-on-values-from-other-rows/m-p/3297700#M122903</guid>
      <dc:creator>KGillett</dc:creator>
      <dc:date>2023-06-22T11:57:41Z</dc:date>
    </item>
  </channel>
</rss>

