<?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: Number of customers commandes &amp;gt; 2 in a week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3212752#M117221</link>
    <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Apr 2023 12:28:15 GMT</pubDate>
    <dc:creator>Sofinobi</dc:creator>
    <dc:date>2023-04-30T12:28:15Z</dc:date>
    <item>
      <title>Number of customers commandes &gt; 2 in a week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3209393#M117009</link>
      <description>&lt;P&gt;hi community,&lt;/P&gt;&lt;P&gt;please if you can help, i want to calculate the number of customers that have more than 2 commandes in a week&lt;BR /&gt;that i can display in a matrice by Région as in the Pbix file attached&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;thank you&lt;BR /&gt;&lt;A title="Nbr_Commande" href="https://drive.google.com/file/d/1ZbHimacnqKvv5r4kqlkW00EEK794siUJ/view?usp=share_link" target="_self"&gt;Nbr_Commande&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Apr 2023 13:18:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3209393#M117009</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2023-04-27T13:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Number of customers commandes &gt; 2 in a week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3212752#M117221</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 12:28:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3212752#M117221</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2023-04-30T12:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Number of customers commandes &gt; 2 in a week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3213443#M117257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="477984" data-lia-user-login="Sofinobi" class="lia-mention lia-mention-user"&gt;Sofinobi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you to try this code as below to create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count Customer = 
VAR _SUMMAIRZE =
    SUMMARIZE (
        ALLEXCEPT ( Tableau1, Tableau1[Date] ),
        Tableau1[Région],
        Tableau1[Customer],
        "nbr commande", [nbr commande]
    )
RETURN
    COUNTAX (
        FILTER (
            _SUMMAIRZE,
            [Région] = MAX ( Tableau1[Région] )
                &amp;amp;&amp;amp; [nbr commande] &amp;gt; 2
        ),
        [Customer]
    )&lt;/LI-CODE&gt;
&lt;P&gt;Due to your sample only have last week data, so I change the date filter to show last week value.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Also in your sample only have customers whose&amp;nbsp;&lt;SPAN&gt;commandes &amp;gt;=2, I change the filter to show values [nbr commande]&amp;gt;=2 to have a test. Result is as below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 08:56:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3213443#M117257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-01T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Number of customers commandes &gt; 2 in a week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3227652#M118263</link>
      <description>&lt;P&gt;thank you so much for you answer , that works&lt;BR /&gt;and sorry to be late, cause i was in an other project;&lt;/P&gt;&lt;P&gt;thank you again&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 18:00:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Number-of-customers-commandes-gt-2-in-a-week/m-p/3227652#M118263</guid>
      <dc:creator>Sofinobi</dc:creator>
      <dc:date>2023-05-09T18:00:34Z</dc:date>
    </item>
  </channel>
</rss>

