<?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: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597810#M176040</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use my first approach which is using LOOKUPVALUE DAX.&lt;BR /&gt;OR&lt;BR /&gt;correct your DAXusing below DAX.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;saless = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Fact Sales'[Sales]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TREATAS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;('Fact Sales'[Cust]), 'Status Table'[Cust]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 06 Mar 2025 06:24:19 GMT</pubDate>
    <dc:creator>mdaatifraza5556</dc:creator>
    <dc:date>2025-03-06T06:24:19Z</dc:date>
    <item>
      <title>Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597747#M176036</link>
      <description>&lt;P&gt;I have 3 tables that has ambiguous relations - where the &lt;FONT color="#CC99FF"&gt;&lt;STRONG&gt;date&lt;/STRONG&gt; table&lt;/FONT&gt; filters 2 table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the same time the &lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Status Table&lt;/FONT&gt;&lt;/STRONG&gt; needs to filter &lt;STRONG&gt;&lt;FONT color="#00CCFF"&gt;Fact Sales&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My attemtp to overcome this, I wrote the following DAX but did not work&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Total Sales = Calculate(sum(SALES),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TREATEAS(SUMMARIZE(Fact Sales [CUSTOMER]),Status Table [CUSTOMER]))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The desired outcome is in Image below. thank you in advanced&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 05:29:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597747#M176036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-06T05:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597764#M176037</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try below measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total Sales = 
Calculate(
  sum('fact sales'[SALES]),
  TREATEAS(all(Status Table [CUSTOMER]),Fact Sales [CUSTOMER]))
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;If still does not work then please provide Screenshot of your data model&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dangar&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;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&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>Thu, 06 Mar 2025 05:58:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597764#M176037</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2025-03-06T05:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597782#M176039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;Remove the relationship between fact and status and in the fact table bring the status column using&amp;nbsp;&lt;SPAN&gt;LOOKUPVALUE.&lt;BR /&gt;&lt;/SPAN&gt;checkout the below DAX&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;status =&lt;/SPAN&gt; &lt;SPAN&gt;LOOKUPVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Status Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Status]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Status Table'&lt;/SPAN&gt;&lt;SPAN&gt;[MTH]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Fact Sales'&lt;/SPAN&gt;&lt;SPAN&gt;[MTH]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Status Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Cust]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Fact Sales'&lt;/SPAN&gt;&lt;SPAN&gt;[Cust]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;Drag the column from the calendar and the fact.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Mar 2025 06:11:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597782#M176039</guid>
      <dc:creator>mdaatifraza5556</dc:creator>
      <dc:date>2025-03-06T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597810#M176040</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use my first approach which is using LOOKUPVALUE DAX.&lt;BR /&gt;OR&lt;BR /&gt;correct your DAXusing below DAX.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;saless = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;('Fact Sales'[Sales]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TREATAS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt;('Fact Sales'[Cust]), 'Status Table'[Cust]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Mar 2025 06:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4597810#M176040</guid>
      <dc:creator>mdaatifraza5556</dc:creator>
      <dc:date>2025-03-06T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4644202#M177816</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 04:46:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4644202#M177816</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-04-09T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4677289#M179135</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/845497" target="_blank"&gt;@Eisha&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 10:01:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4677289#M179135</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-05-02T10:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar table to filter 2 tables that have existing Relationship aka Lapse New Trading</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4679555#M179239</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope the provided information by&amp;nbsp;mdaatifraza5556&amp;nbsp; is&amp;nbsp; helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so others can find it easily.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 06:46:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calendar-table-to-filter-2-tables-that-have-existing/m-p/4679555#M179239</guid>
      <dc:creator>v-menakakota</dc:creator>
      <dc:date>2025-05-05T06:46:50Z</dc:date>
    </item>
  </channel>
</rss>

