<?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: Find Customer sales where customers bought few products together in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099529#M162684</link>
    <description>&lt;P&gt;Hi, I am not sure if it works in the other semantic model than the sample that I provided, but please try something like below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Please check the attached pbix file.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;LI-CODE lang="markup"&gt;sales total: =
VAR _sales =
    SUM ( fct_sales[sales] )
VAR _productcountall =
    COUNTROWS (
        FILTER (
            VALUES ( dim_product[product] ),
            dim_product[product] IN { "chair", "sofa", "table" }
        )
    )
VAR _productcountonlysales =
    COUNTROWS (
        FILTER (
            SUMMARIZE ( fct_sales, dim_product[product] ),
            dim_product[product] IN { "chair", "sofa", "table" }
        )
    )
RETURN
    SWITCH (
        TRUE (),
        HASONEVALUE ( dim_customer[customer] ), IF ( _productcountonlysales = _productcountall, _sales ),
        _sales
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 07:23:41 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-08-14T07:23:41Z</dc:date>
    <item>
      <title>Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099200#M162662</link>
      <description>&lt;P&gt;I need to find customer sales only when customer buys all 3 products of Sofa, Chair, Table. Attaching the sample screenshort of the expected output , Please may I have help.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 04:40:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099200#M162662</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T04:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099230#M162663</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="702570" data-lia-user-login="han_rj" class="lia-mention lia-mention-user"&gt;han_rj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please check if this accomodate your need.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the easiest way is to achieve this is filter out customer that has not bought 3 item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. create new measure to count bought item&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Filter =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_Count&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column3]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Return&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;_Count&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;SPAN&gt;2. in your matrix visual, insert the measure&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;3. in visual filter pane, set to show value only 1. value 1 means customer that has bought 3 items.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;4. if you dont want to show those count value, lock the filter then remove the measure after being locked. the filter will be stayed there while no value is shown.&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, as you can see, the total will be different from original, because only customer with 3 item will be count in total.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;Hope this will help.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Aug 2024 04:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099230#M162663</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-08-14T04:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099238#M162665</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&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;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sales total: =
VAR _sales =
    SUM ( fct_sales[sales] )
VAR _productcountall =
    COUNTROWS ( VALUES ( dim_product[product] ) )
VAR _productcountonlysales =
    COUNTROWS ( SUMMARIZE ( fct_sales, dim_product[product] ) )
RETURN
    SWITCH (
        TRUE (),
        HASONEVALUE ( dim_customer[customer] ), IF ( _productcountonlysales = _productcountall, _sales ),
        _sales
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:01:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099238#M162665</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-08-14T05:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099239#M162666</link>
      <description>&lt;P&gt;The above data is a sample data, I want specific condition on Sofa , Chair and Table , Because I have other items as well.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:02:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099239#M162666</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T05:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099245#M162668</link>
      <description>&lt;P&gt;I will give this a try, the above attached data is a sample data and I would like to put a condition only to compute sales for 3 specifc products [&lt;SPAN&gt;Sofa , Chair and Table] scenario , else it should show zero. But I will give this a try , Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:05:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099245#M162668</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T05:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099251#M162669</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;My calculation has the condition to compare "how many products per customer" vs. "count of all products in dimension table".&lt;/P&gt;
&lt;P&gt;If you need to compare to three specific products, please try hard-code the products names, instead of dynamically comparing to ALL.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:10:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099251#M162669</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-08-14T05:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099252#M162670</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="702570" data-lia-user-login="han_rj" class="lia-mention lia-mention-user"&gt;han_rj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can adjust the filter DAX just only to calculate those 3 items.&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;Filter =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_Count&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column3]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Chair"&lt;/SPAN&gt;&lt;SPAN&gt;||&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Sofa"&lt;/SPAN&gt;&lt;SPAN&gt;||&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Table"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;Return&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;_Count&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:10:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099252#M162670</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-08-14T05:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099324#M162674</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="490030" data-lia-user-login="Irwan" class="lia-mention lia-mention-user"&gt;Irwan&lt;/a&gt;&amp;nbsp;, This works but when we export data and open the csv file it is blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Power BI desktop Data :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Excel Data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:55:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099324#M162674</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T05:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099336#M162675</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;, I did try filtering, but I guess I am missing something attaching the changes made and the data&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 05:58:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099336#M162675</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T05:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099375#M162677</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="702570" data-lia-user-login="han_rj" class="lia-mention lia-mention-user"&gt;han_rj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i guess the problem is in exporting option, not the DAX. If the DAX doesnt work, then it will show wrong result or it will show no result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to recheck your selection when exporting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 06:13:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099375#M162677</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-08-14T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099393#M162678</link>
      <description>&lt;P&gt;if I exclude the filter I am able to view exported data[CSV file data], when the filter is on the exported data is blank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 06:19:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099393#M162678</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T06:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099405#M162680</link>
      <description>&lt;P&gt;Hmm not sure why. I used this method multiple times and no issue when exporting.&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;Well if this not works, the next way is &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;'s solution.&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;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 06:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099405#M162680</guid>
      <dc:creator>Irwan</dc:creator>
      <dc:date>2024-08-14T06:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099529#M162684</link>
      <description>&lt;P&gt;Hi, I am not sure if it works in the other semantic model than the sample that I provided, but please try something like below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Please check the attached pbix file.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;LI-CODE lang="markup"&gt;sales total: =
VAR _sales =
    SUM ( fct_sales[sales] )
VAR _productcountall =
    COUNTROWS (
        FILTER (
            VALUES ( dim_product[product] ),
            dim_product[product] IN { "chair", "sofa", "table" }
        )
    )
VAR _productcountonlysales =
    COUNTROWS (
        FILTER (
            SUMMARIZE ( fct_sales, dim_product[product] ),
            dim_product[product] IN { "chair", "sofa", "table" }
        )
    )
RETURN
    SWITCH (
        TRUE (),
        HASONEVALUE ( dim_customer[customer] ), IF ( _productcountonlysales = _productcountall, _sales ),
        _sales
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 07:23:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099529#M162684</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-08-14T07:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099781#M162695</link>
      <description>&lt;P&gt;Yea, Does not work for my model&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 09:06:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099781#M162695</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T09:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099957#M162701</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For fun only, to showcase the powerful Excel formulas,&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 10:15:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4099957#M162701</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2024-08-14T10:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100014#M162704</link>
      <description>&lt;P&gt;This is awesome, One small question is it possible to eliminate other rows and only have customer a,f in the matrix&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;</description>
      <pubDate>Wed, 14 Aug 2024 10:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100014#M162704</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100422#M162714</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 14:12:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100422#M162714</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2024-08-14T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100512#M162721</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/474658" target="_blank"&gt;@ThxAlot&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, Please can you help me explain the flow of the above logic, It seems I will need to make few tweaks to mine, So understanding it will help me make the tweeks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 15:06:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100512#M162721</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T15:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find Customer sales where customers bought few products together</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100665#M162727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="474658" data-lia-user-login="ThxAlot" class="lia-mention lia-mention-user"&gt;ThxAlot&lt;/a&gt;&amp;nbsp;, Thank You for helping , As a last tweak at times I have entries of blank/nulls in my fact table along side customer,product sku , Where a solution to show only entries without blanks will be helpful&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 16:25:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-Customer-sales-where-customers-bought-few-products-together/m-p/4100665#M162727</guid>
      <dc:creator>han_rj</dc:creator>
      <dc:date>2024-08-14T16:25:11Z</dc:date>
    </item>
  </channel>
</rss>

