<?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: how to compare 2 dates from different fact tables? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082907#M162074</link>
    <description>&lt;P&gt;Thank you for the suggestion Wearsky,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your measure but it shows an error - "Visual has exccede the available resources"&lt;/P&gt;&lt;P&gt;I am guessing the data is too big to do such an action? any other advices? thanks&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 03:34:27 GMT</pubDate>
    <dc:creator>mocha911</dc:creator>
    <dc:date>2024-08-06T03:34:27Z</dc:date>
    <item>
      <title>how to compare 2 dates from different fact tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082542#M162060</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to write a DAX measure to get a flag which shows a service date (from Fact_Service table) greater than then upgrade date (from Fact_Member table). There is a Member dimension table between these two fact tables like below -&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the output that I want to achieve in PowerBI-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;There are multiple upgrades for each member and of course multiple services for each member in both fact tables.&lt;/P&gt;&lt;P&gt;But atm I only need the latest upgrade date to compare with all service dates for simplicity.&lt;/P&gt;&lt;P&gt;Any ideas how to do it? thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 23:21:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082542#M162060</guid>
      <dc:creator>mocha911</dc:creator>
      <dc:date>2024-08-05T23:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare 2 dates from different fact tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082847#M162072</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="658792" data-lia-user-login="mocha911" class="lia-mention lia-mention-user"&gt;mocha911&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume that the dimension table has 2 one-to-many relationships with 2 fact tables.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Here is my sample data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please try this measure&lt;/P&gt;
&lt;P&gt;Measure 3 = IF( SELECTEDVALUE('Fact services'[Service Date])&amp;gt; SELECTEDVALUE('Fact member'[Upgrade Date]),1,0)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wearsky&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 02:56:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082847#M162072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-06T02:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare 2 dates from different fact tables?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082907#M162074</link>
      <description>&lt;P&gt;Thank you for the suggestion Wearsky,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your measure but it shows an error - "Visual has exccede the available resources"&lt;/P&gt;&lt;P&gt;I am guessing the data is too big to do such an action? any other advices? thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 03:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-compare-2-dates-from-different-fact-tables/m-p/4082907#M162074</guid>
      <dc:creator>mocha911</dc:creator>
      <dc:date>2024-08-06T03:34:27Z</dc:date>
    </item>
  </channel>
</rss>

