<?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 Create Dax measure calculates number of occurrences of every pair of services purchased by clients in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Dax-measure-calculates-number-of-occurrences-of-every/m-p/3937136#M153112</link>
    <description>&lt;P&gt;i want to create Dax measure that calculates number of occurrences of every pair of services purchased by clients&amp;nbsp;&lt;BR /&gt;- i have a table with 2 columns client name , service name&lt;BR /&gt;- i want to create a measure&amp;nbsp;that shows the number every pair of services are purchased together&amp;nbsp;&lt;BR /&gt;- the output should look like the pic attached , where services names in rows and columns&lt;BR /&gt;where one service can't be purchased&amp;nbsp;twice by the same client&amp;nbsp; ,&lt;BR /&gt;but service 1 and service 2 were purchased together one time by 1 client&amp;nbsp;&lt;BR /&gt;and service 2 and&amp;nbsp;service 4&amp;nbsp;were purchased together 2 times&amp;nbsp; , ect&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>Tue, 21 May 2024 21:07:09 GMT</pubDate>
    <dc:creator>mostafatalaat37</dc:creator>
    <dc:date>2024-05-21T21:07:09Z</dc:date>
    <item>
      <title>Create Dax measure calculates number of occurrences of every pair of services purchased by clients</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Dax-measure-calculates-number-of-occurrences-of-every/m-p/3937136#M153112</link>
      <description>&lt;P&gt;i want to create Dax measure that calculates number of occurrences of every pair of services purchased by clients&amp;nbsp;&lt;BR /&gt;- i have a table with 2 columns client name , service name&lt;BR /&gt;- i want to create a measure&amp;nbsp;that shows the number every pair of services are purchased together&amp;nbsp;&lt;BR /&gt;- the output should look like the pic attached , where services names in rows and columns&lt;BR /&gt;where one service can't be purchased&amp;nbsp;twice by the same client&amp;nbsp; ,&lt;BR /&gt;but service 1 and service 2 were purchased together one time by 1 client&amp;nbsp;&lt;BR /&gt;and service 2 and&amp;nbsp;service 4&amp;nbsp;were purchased together 2 times&amp;nbsp; , ect&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>Tue, 21 May 2024 21:07:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Dax-measure-calculates-number-of-occurrences-of-every/m-p/3937136#M153112</guid>
      <dc:creator>mostafatalaat37</dc:creator>
      <dc:date>2024-05-21T21:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Dax measure calculates number of occurrences of every pair of services purchased by clients</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Dax-measure-calculates-number-of-occurrences-of-every/m-p/3937512#M153126</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="747022" data-lia-user-login="mostafatalaat37" class="lia-mention lia-mention-user"&gt;mostafatalaat37&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your data, when Row=services2,Column=services1,the result is 3, when Row=services1,Column=services2,the result is 1, but there is only one column [services], not very clear about the logic, if it is convenient, can you explain the calculation logic and share the sample If it is convenient, can you explain the calculation logic and share the sample output in data and table format, or the pbix sample after removing the sensitive data. We can better understand the problem and help you out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 01:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Dax-measure-calculates-number-of-occurrences-of-every/m-p/3937512#M153126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-22T01:50:29Z</dc:date>
    </item>
  </channel>
</rss>

