<?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 values using two different date columns. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1265016#M21169</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, you, good sir have just elevated my DAX game to the next level!&lt;/P&gt;&lt;P&gt;Implementing this change to my existing measure was so fast and simple once I read those articles to understand it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jul 2020 13:39:04 GMT</pubDate>
    <dc:creator>RobThrive</dc:creator>
    <dc:date>2020-07-31T13:39:04Z</dc:date>
    <item>
      <title>Matrix values using two different date columns.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1264863#M21159</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm stuck, and hoping someone can assist please. I'm not even sure how to word the problem/scenario. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&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;&lt;SPAN&gt;I have a fact table with a date column of "&lt;STRONG&gt;target_date_completion&lt;/STRONG&gt;" which my date table connects to (marked in red in screenshot). There is also a cost column which i need to sum up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, the fact table has a column called "&lt;STRONG&gt;date_completed&lt;/STRONG&gt;", which is empty if the job is not yet completed.&amp;nbsp;(Column is actually calculated column just copying from from a related table which is 1-to-1 relationship, see arrows in screenshot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Majority of my dashboard is based around the &lt;STRONG&gt;target_date_completion&lt;/STRONG&gt;. So for example we want to measure the number of jobs completed within the &lt;STRONG&gt;target_date_completion&lt;/STRONG&gt; value (I got that solved). But I also need to calculate the cost column for each month as well. But this cost is to be done based on the date_completed column and not the target_date_completion column. I then need to be able to drop this cost aggregation into my matrix which IS basing the rest of the data around target_date_completion and so my slicers all work of that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So somehow, I need 90% of my dashboard to work by target_date_completion. But the sums of cost to work to date_Completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense because it exploded my head just trying to explain it.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 12:41:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1264863#M21159</guid>
      <dc:creator>RobThrive</dc:creator>
      <dc:date>2020-07-31T12:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix values using two different date columns.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1264938#M21165</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="163211" data-lia-user-login="RobThrive" class="lia-mention lia-mention-user"&gt;RobThrive&lt;/a&gt; , You can create a date table and join it with both dates. Keep the most used on as active and another one inactive. You can use userelation in a measure to activate a relation&lt;/P&gt;
&lt;P&gt;refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi" target="_blank"&gt;https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in-power-bi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 13:14:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1264938#M21165</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-31T13:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix values using two different date columns.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1265016#M21169</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;, you, good sir have just elevated my DAX game to the next level!&lt;/P&gt;&lt;P&gt;Implementing this change to my existing measure was so fast and simple once I read those articles to understand it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 13:39:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-values-using-two-different-date-columns/m-p/1265016#M21169</guid>
      <dc:creator>RobThrive</dc:creator>
      <dc:date>2020-07-31T13:39:04Z</dc:date>
    </item>
  </channel>
</rss>

