<?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 List of different products and average of quantity in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/List-of-different-products-and-average-of-quantity/m-p/1039502#M13894</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a big dataset that contains multiple purchase records of several customers in a store.&lt;/P&gt;&lt;P&gt;The table is composed with 7 columns: ClientID, Prod1, Prod1_Qt, Prod2, Prod2_Qt, Prod3, Prod3_Qt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, for each client there is a record of 3 products purchased and the respective quantity.&lt;/P&gt;&lt;P&gt;Is there any way to obtain a table, with two different columns, the list of all products purchased and the average of the quantity?&lt;/P&gt;&lt;P&gt;Note that products are not always in the same order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Prod1&lt;/TD&gt;&lt;TD&gt;Prod1_Qt&lt;/TD&gt;&lt;TD&gt;Prod2&lt;/TD&gt;&lt;TD&gt;Prod2_Qt&lt;/TD&gt;&lt;TD&gt;Prod3&lt;/TD&gt;&lt;TD&gt;Prod3_Qt&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;clock&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;tracksuit&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;sneakers&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;ball&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;sneakers&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;racket&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;tracksuit&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;clock&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;ball&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;BR /&gt;-- Fábio Ferreira&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 14:30:24 GMT</pubDate>
    <dc:creator>fabio7xavier</dc:creator>
    <dc:date>2020-04-21T14:30:24Z</dc:date>
    <item>
      <title>List of different products and average of quantity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/List-of-different-products-and-average-of-quantity/m-p/1039502#M13894</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a big dataset that contains multiple purchase records of several customers in a store.&lt;/P&gt;&lt;P&gt;The table is composed with 7 columns: ClientID, Prod1, Prod1_Qt, Prod2, Prod2_Qt, Prod3, Prod3_Qt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, for each client there is a record of 3 products purchased and the respective quantity.&lt;/P&gt;&lt;P&gt;Is there any way to obtain a table, with two different columns, the list of all products purchased and the average of the quantity?&lt;/P&gt;&lt;P&gt;Note that products are not always in the same order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Client&lt;/TD&gt;&lt;TD&gt;Prod1&lt;/TD&gt;&lt;TD&gt;Prod1_Qt&lt;/TD&gt;&lt;TD&gt;Prod2&lt;/TD&gt;&lt;TD&gt;Prod2_Qt&lt;/TD&gt;&lt;TD&gt;Prod3&lt;/TD&gt;&lt;TD&gt;Prod3_Qt&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;clock&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;tracksuit&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;sneakers&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;ball&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;sneakers&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;racket&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;tracksuit&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;clock&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;ball&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;BR /&gt;-- Fábio Ferreira&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 14:30:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/List-of-different-products-and-average-of-quantity/m-p/1039502#M13894</guid>
      <dc:creator>fabio7xavier</dc:creator>
      <dc:date>2020-04-21T14:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: List of different products and average of quantity</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/List-of-different-products-and-average-of-quantity/m-p/1039660#M13902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="186207" data-lia-user-login="fabio7xavier" class="lia-mention lia-mention-user"&gt;fabio7xavier&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you brazilian ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created this file as an example:&amp;nbsp;&lt;A title="PBIX" href="https://drive.google.com/file/d/1o6Dwcb37HY0zRCcGhJngmC7EQsB5RuY0/view?usp=sharing" target="_blank" rel="noopener"&gt;Download PBIX&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 15:27:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/List-of-different-products-and-average-of-quantity/m-p/1039660#M13902</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-04-21T15:27:17Z</dc:date>
    </item>
  </channel>
</rss>

