<?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 Count contracts per client on a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488649#M68420</link>
    <description>&lt;P&gt;Hello all&lt;BR /&gt;I would like to have in a slicer the number of contracts made.&lt;BR /&gt;Now, i want to know, for example, which clients has 3 contracts or whatever number i choose.&lt;BR /&gt;My fact table, contracts, is connected to clients, many to one.&lt;BR /&gt;Can you help me on step by step proccess, because last time i thought the solution was good but it turns out not to be good.&lt;BR /&gt;This is what i would like to see&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Thank you all in advance&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 12:33:19 GMT</pubDate>
    <dc:creator>pedroccamaraDBI</dc:creator>
    <dc:date>2022-05-02T12:33:19Z</dc:date>
    <item>
      <title>Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488649#M68420</link>
      <description>&lt;P&gt;Hello all&lt;BR /&gt;I would like to have in a slicer the number of contracts made.&lt;BR /&gt;Now, i want to know, for example, which clients has 3 contracts or whatever number i choose.&lt;BR /&gt;My fact table, contracts, is connected to clients, many to one.&lt;BR /&gt;Can you help me on step by step proccess, because last time i thought the solution was good but it turns out not to be good.&lt;BR /&gt;This is what i would like to see&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;Thank you all in advance&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 12:33:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488649#M68420</guid>
      <dc:creator>pedroccamaraDBI</dc:creator>
      <dc:date>2022-05-02T12:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488679#M68424</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240828" data-lia-user-login="pedroccamaraDBI" class="lia-mention lia-mention-user"&gt;pedroccamaraDBI&lt;/a&gt; , seem like you need Avg no of contract per client&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AverageX(summarize(Contract, Clinet[Client], "_1", Count(Contract[Contract no]) ), [_1])&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 12:45:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488679#M68424</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-02T12:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488692#M68425</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240828" data-lia-user-login="pedroccamaraDBI" class="lia-mention lia-mention-user"&gt;pedroccamaraDBI&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;First create a calculated column on you dimension table containing all clients name (the one part of your relationship)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Then add this column to a slicer if you want to be able to select the number of contract :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 12:49:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488692#M68425</guid>
      <dc:creator>philouduv</dc:creator>
      <dc:date>2022-05-02T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488948#M68442</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378999" data-lia-user-login="philouduv" class="lia-mention lia-mention-user"&gt;philouduv&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Could you please check your measure because i can't do it here. Doesn't allow me to write the filter expression&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 14:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488948#M68442</guid>
      <dc:creator>pedroccamaraDBI</dc:creator>
      <dc:date>2022-05-02T14:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488953#M68444</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I really need the total for each client so i can filter it later on, and may know, for example, which clients has exactly 3 contracts&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 14:43:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488953#M68444</guid>
      <dc:creator>pedroccamaraDBI</dc:creator>
      <dc:date>2022-05-02T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488963#M68445</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240828" data-lia-user-login="pedroccamaraDBI" class="lia-mention lia-mention-user"&gt;pedroccamaraDBI&lt;/a&gt;&amp;nbsp;, it is not a measure but a calculated column that you create on your &lt;STRONG&gt;DIMENSION&lt;/STRONG&gt; table (the one with each id/name occuring only 1 time),&lt;BR /&gt;And for your example it would give something like :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nbr_contract = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FactTable&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FactTable&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;DimTable[cliend id]&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;FactTable[cliend id]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 May 2022 14:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2488963#M68445</guid>
      <dc:creator>philouduv</dc:creator>
      <dc:date>2022-05-02T14:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count contracts per client on a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2489063#M68450</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="378999" data-lia-user-login="philouduv" class="lia-mention lia-mention-user"&gt;philouduv&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Now it's working....Thank you so much&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 18:14:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-contracts-per-client-on-a-slicer/m-p/2489063#M68450</guid>
      <dc:creator>pedroccamaraDBI</dc:creator>
      <dc:date>2022-05-02T18:14:03Z</dc:date>
    </item>
  </channel>
</rss>

