<?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 Need Average DAX for Part Sales but data in table is from Part Inventory table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3985013#M154493</link>
    <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure this is quite a simple issue but I am not getting the results I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this table for Parts Inventory data, (one shown for example) and I would like to show the average sales (monthly?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I add the average dax it unfilters my table and adds three lines per part (The other lines are for other branches)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AverageSales = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(PartSales_Parts, PartSales_Parts[SaleUnitAmount] * PartSales_Parts[ShippedQuantity])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly apreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 05:33:29 GMT</pubDate>
    <dc:creator>victoria_g06</dc:creator>
    <dc:date>2024-06-11T05:33:29Z</dc:date>
    <item>
      <title>Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3985013#M154493</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure this is quite a simple issue but I am not getting the results I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this table for Parts Inventory data, (one shown for example) and I would like to show the average sales (monthly?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I add the average dax it unfilters my table and adds three lines per part (The other lines are for other branches)&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AverageSales = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(PartSales_Parts, PartSales_Parts[SaleUnitAmount] * PartSales_Parts[ShippedQuantity])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly apreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 05:33:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3985013#M154493</guid>
      <dc:creator>victoria_g06</dc:creator>
      <dc:date>2024-06-11T05:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3986539#M154543</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 16:21:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3986539#M154543</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-11T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987033#M154555</link>
      <description>&lt;P&gt;Hi There, Sorry it wont let me post a html table of data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 22:16:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987033#M154555</guid>
      <dc:creator>victoria_g06</dc:creator>
      <dc:date>2024-06-11T22:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987120#M154556</link>
      <description>&lt;P&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 00:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987120#M154556</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-06-12T00:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987131#M154561</link>
      <description>&lt;P&gt;Yes I read that and it wont allow me to post the html table. Please disregard this post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 00:44:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987131#M154561</guid>
      <dc:creator>victoria_g06</dc:creator>
      <dc:date>2024-06-12T00:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987712#M154571</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="609530" data-lia-user-login="victoria_g06" class="lia-mention lia-mention-user"&gt;victoria_g06&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;First of all, many thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp; for your very quick and effective replies.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Based on the description, please &lt;SPAN&gt;try the following dax formula.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AverageSales = 
CALCULATE(
    AVERAGEX(
        PartSales_Parts, 
        PartSales_Parts[SaleUnitAmount] * PartSales_Parts[ShippedQuantity]
    ),
    ALLEXCEPT(PartSales_Parts, PartSales_Parts[PartID])
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wisdom Wu&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then 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;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 06:59:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3987712#M154571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-12T06:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Average DAX for Part Sales but data in table is from Part Inventory table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3989651#M154689</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works but&amp;nbsp;I have an issue though becuase my data is from the &lt;U&gt;PartsInventory&lt;/U&gt; Table, so it wont show the correct figures because the sales table is a different table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will mark is as the solution and keep working on the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 22:19:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Average-DAX-for-Part-Sales-but-data-in-table-is-from-Part/m-p/3989651#M154689</guid>
      <dc:creator>victoria_g06</dc:creator>
      <dc:date>2024-06-12T22:19:20Z</dc:date>
    </item>
  </channel>
</rss>

