<?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 How to calculate average week sales of a ID POS with only correlation of ID terminals between tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2810087#M88954</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hello comunity,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have this problem and i cant get the DAX language to create a formula that can give me the weekly average of sales of each point of sales (not terminal).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have three tables (check image). One i have the sales by week and by terminal, the second i have the terminal number and the POS that terminal referer too and the third table is a calendar by week table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I create a table by week and the ID is the point of sale it sums right the amount, but when I create the average formula to go along the table, it gives me the weekly average by terminal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help with this formula?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mário&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2022 14:36:29 GMT</pubDate>
    <dc:creator>Kamkazz</dc:creator>
    <dc:date>2022-10-01T14:36:29Z</dc:date>
    <item>
      <title>How to calculate average week sales of a ID POS with only correlation of ID terminals between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2810087#M88954</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hello comunity,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have this problem and i cant get the DAX language to create a formula that can give me the weekly average of sales of each point of sales (not terminal).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have three tables (check image). One i have the sales by week and by terminal, the second i have the terminal number and the POS that terminal referer too and the third table is a calendar by week table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I create a table by week and the ID is the point of sale it sums right the amount, but when I create the average formula to go along the table, it gives me the weekly average by terminal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help with this formula?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mário&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 14:36:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2810087#M88954</guid>
      <dc:creator>Kamkazz</dc:creator>
      <dc:date>2022-10-01T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate average week sales of a ID POS with only correlation of ID terminals between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2810088#M88955</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="450250" data-lia-user-login="Kamkazz" class="lia-mention lia-mention-user"&gt;Kamkazz&lt;/a&gt;&amp;nbsp;Try putting Point of Sale in a table visual along with Week and then this measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;POS Weekly Average Measure =
  VAR __Table = SUMMARIZE('Sales by Terminal',[Terminal],"__Sum",SUM('Sales by Terminal'[Sales]))
RETURN
  AVERAGEX(__Table,[__Sum])&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 01 Oct 2022 14:40:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2810088#M88955</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-10-01T14:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate average week sales of a ID POS with only correlation of ID terminals between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2811671#M89020</link>
      <description>&lt;P&gt;Hello Greg, dont get this part "&lt;STRONG&gt;Var __Table&lt;/STRONG&gt;" and the &lt;STRONG&gt;"__Sum"&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt; VAR __Table&lt;/STRONG&gt; = SUMMARIZE('Sales by Terminal',[Terminal],&lt;STRONG&gt;"__Sum"&lt;/STRONG&gt;,SUM('Sales by Terminal'[Sales]))
RETURN
  AVERAGEX(&lt;STRONG&gt;__Table,[__Sum]&lt;/STRONG&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Can you be more specific?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Oct 2022 12:26:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2811671#M89020</guid>
      <dc:creator>Kamkazz</dc:creator>
      <dc:date>2022-10-02T12:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate average week sales of a ID POS with only correlation of ID terminals between tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2813728#M89137</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="450250" data-lia-user-login="Kamkazz" class="lia-mention lia-mention-user"&gt;Kamkazz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;could you share some sample data and its expected output? thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:07:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-average-week-sales-of-a-ID-POS-with-only/m-p/2813728#M89137</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-10-03T11:07:04Z</dc:date>
    </item>
  </channel>
</rss>

