<?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: Use Realated with calculate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4643901#M177804</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="696578" data-lia-user-login="ramiro_gonzalez" class="lia-mention lia-mention-user"&gt;ramiro_gonzalez&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you are facing issue in your DAX. As&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;both responded to query, please go through the responses and mark the helpful reply as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please mark it as a solution, so that other members find it more quickly.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 21:12:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-04-08T21:12:18Z</dc:date>
    <item>
      <title>Use Realated with calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642320#M177760</link>
      <description>&lt;P&gt;Hi everyone, I’d appreciate your help. I’m trying to use a filter with the RELATED function inside CALCULATE, something like:&lt;BR /&gt;CALCULATE(COUNTDISTINCT(Id), Sales[Date] &amp;lt; RELATED(Orders[ExpirationDate])).&lt;BR /&gt;I get an error saying that the column used in RELATED doesn’t exist. I know a row context is needed, but in this case I want to avoid using FILTER to filter a whole table.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 05:55:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642320#M177760</guid>
      <dc:creator>ramiro_gonzalez</dc:creator>
      <dc:date>2025-04-08T05:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use Realated with calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642341#M177763</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="696578" data-lia-user-login="ramiro_gonzalez" class="lia-mention lia-mention-user"&gt;ramiro_gonzalez&lt;/a&gt;&amp;nbsp;, Use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTDISTINCT(Sales[Id]),&lt;BR /&gt;TREATAS(&lt;BR /&gt;VALUES(Sales[Date]),&lt;BR /&gt;Orders[ExpirationDate]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 06:17:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642341#M177763</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-04-08T06:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use Realated with calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642592#M177766</link>
      <description>&lt;P&gt;CALCULATE(&lt;/P&gt;&lt;P&gt;COUNTDISTINCT(Id),&lt;/P&gt;&lt;P&gt;Filter(&lt;/P&gt;&lt;P&gt;Summarize(&lt;/P&gt;&lt;P&gt;Orders,&lt;/P&gt;&lt;P&gt;Sales[Date],&lt;/P&gt;&lt;P&gt;Orders[ExpirationDate]&lt;/P&gt;&lt;P&gt;),&lt;/P&gt;&lt;P&gt;Sales[Date] &amp;lt; Orders[ExpirationDate]&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:44:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4642592#M177766</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-04-08T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use Realated with calculate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4643901#M177804</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="696578" data-lia-user-login="ramiro_gonzalez" class="lia-mention lia-mention-user"&gt;ramiro_gonzalez&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you are facing issue in your DAX. As&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;both responded to query, please go through the responses and mark the helpful reply as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also take a moment to thank &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1231947" data-lia-user-login="Deku" class="lia-mention lia-mention-user"&gt;Deku&lt;/a&gt;&amp;nbsp;and &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Hammad.&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps then please mark it as a solution, so that other members find it more quickly.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Realated-with-calculate/m-p/4643901#M177804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-08T21:12:18Z</dc:date>
    </item>
  </channel>
</rss>

