<?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: Help to understand the example given in CROSSFILTER function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334961#M172116</link>
    <description>&lt;P&gt;Thanks for your clarification&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736379" data-lia-user-login="shafiz_p" class="lia-mention lia-mention-user"&gt;shafiz_p&lt;/a&gt;.&amp;nbsp;Much appreciated.&lt;/P&gt;&lt;P&gt;I think I can understand the example better now.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 11:34:56 GMT</pubDate>
    <dc:creator>nemo</dc:creator>
    <dc:date>2024-12-18T11:34:56Z</dc:date>
    <item>
      <title>Help to understand the example given in CROSSFILTER function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334837#M172110</link>
      <description>&lt;P&gt;The &lt;A href="https://dax.guide/crossfilter/" target="_self"&gt;example&lt;/A&gt; for CROSSFILTER was given as follows:&lt;/P&gt;&lt;DIV class=""&gt;DEFINE&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MEASURE Sales[Customers] =&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;COUNTROWS ( Customer )&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MEASURE Sales[CustomersFiltered] =&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CALCULATE (&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Customers],&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CROSSFILTER ( Sales[CustomerKey], Customer[CustomerKey], BOTH )&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MEASURE Sales[ProductsDoesNotFilter] =&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CALCULATE (&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Customers],&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CROSSFILTER ( Sales[CustomerKey], Customer[CustomerKey], BOTH ),&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CROSSFILTER ( Sales[ProductKey], 'Product'[ProductKey], NONE )&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;/DIV&gt;&lt;DIV class=""&gt;EVALUATE&lt;/DIV&gt;&lt;DIV class=""&gt;SUMMARIZECOLUMNS (&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'Product'[Brand],&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Customers", [Customers],&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Customers Buying", [CustomersFiltered],&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Products does not filter Sales", [ProductsDoesNotFilter]&lt;/DIV&gt;&lt;DIV class=""&gt;)&lt;/DIV&gt;&lt;P&gt;which returned the below result.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I could understand the values of the first 2 columns in the above table, but had no idea why the third column had the value of 18,869.&lt;/P&gt;&lt;P&gt;Would someone please explain what happened, in particular what was the purpose for this line of code&amp;nbsp;CROSSFILTER ( Sales[ProductKey], 'Product'[ProductKey], NONE )?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:10:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334837#M172110</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2024-12-18T10:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understand the example given in CROSSFILTER function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334860#M172111</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="308234" data-lia-user-login="nemo" class="lia-mention lia-mention-user"&gt;nemo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The line&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CROSSFILTER ( Sales[ProductKey], 'Product'[ProductKey], NONE )&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;disables the filtering effect of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table. This means that any filters applied to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table will not affect the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SUMMARIZECOLUMNS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function, the third column "Products does not filter Sales" uses the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales[ProductsDoesNotFilter]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;measure. Because the relationship between&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is disabled, the count of customers is not affected by any filters on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table. This results in a higher count (18,869) because it includes all customers, regardless of any product-related filters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;/P&gt;&lt;P&gt;If this helps, please accept it as a solution and a kudos!!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:21:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334860#M172111</guid>
      <dc:creator>shafiz_p</dc:creator>
      <dc:date>2024-12-18T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understand the example given in CROSSFILTER function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334876#M172112</link>
      <description>&lt;P&gt;Thanks for your quick response&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736379" data-lia-user-login="shafiz_p" class="lia-mention lia-mention-user"&gt;shafiz_p&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I understand the line&amp;nbsp;&lt;SPAN&gt;CROSSFILTER ( Sales[ProductKey], 'Product'[ProductKey], NONE ) disables the filtering effect between tables Product and Sales, &lt;EM&gt;but&lt;/EM&gt; the other line CROSSFILTER ( Sales[CustomerKey], Customer[CustomerKey], BOTH ) still applies a filtering effect between tables Customer and Sales, thus the third column/measure &lt;EM&gt;should&lt;/EM&gt; have returned the same values as the second column/measure, don't you think? What's the point of having both CROSSFILTER in the third measure?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:32:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334876#M172112</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2024-12-18T10:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understand the example given in CROSSFILTER function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334905#M172113</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Sales[CustomersFiltered]&lt;/STRONG&gt;: This measure considers the bidirectional relationship between Sales and&amp;nbsp; &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Customer. If there are any filters applied to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table, they will still affect the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table indirectly through the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Customer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales[ProductsDoesNotFilter]&lt;/STRONG&gt;: This measure explicitly disables the relationship between Sales and &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product. This means that any filters applied to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table will not affect the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table at all. However, the bidirectional relationship between&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Customer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;remains active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The key difference is that the third measure &lt;/SPAN&gt;&lt;SPAN&gt;isolates the&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;table from any filtering effects of the&amp;nbsp;&lt;/SPAN&gt;Product&lt;SPAN&gt;&amp;nbsp;table, ensuring that only the relationship between&amp;nbsp;&lt;/SPAN&gt;Sales&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;Customer&lt;SPAN&gt;&amp;nbsp;is considered where as the second measure considering filtering effects of the product table indirectly.&lt;BR /&gt;&lt;BR /&gt;Hope this clearify the confusion!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:51:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334905#M172113</guid>
      <dc:creator>shafiz_p</dc:creator>
      <dc:date>2024-12-18T10:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help to understand the example given in CROSSFILTER function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334961#M172116</link>
      <description>&lt;P&gt;Thanks for your clarification&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="736379" data-lia-user-login="shafiz_p" class="lia-mention lia-mention-user"&gt;shafiz_p&lt;/a&gt;.&amp;nbsp;Much appreciated.&lt;/P&gt;&lt;P&gt;I think I can understand the example better now.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 11:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-to-understand-the-example-given-in-CROSSFILTER-function/m-p/4334961#M172116</guid>
      <dc:creator>nemo</dc:creator>
      <dc:date>2024-12-18T11:34:56Z</dc:date>
    </item>
  </channel>
</rss>

