<?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 Re: Caltulate an average in between two columns from different tables, based on a relationship. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116878#M16353</link>
    <description>&lt;P&gt;It's great thank you very much!!!!&lt;/P&gt;&lt;P&gt;Just a little additional cuestion how can i add another filtere that ignores "0" values this is in case that the employee isn't working that day&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 02:43:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-25T02:43:15Z</dc:date>
    <item>
      <title>Caltulate an average in between two columns from different tables, based on a relationship.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116601#M16322</link>
      <description>&lt;P&gt;Hi to everyone, i have a cuestion with this two tables:&lt;/P&gt;&lt;P&gt;1. A database with the information from Employees.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Sales report of each one&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What i need is add a column to the table #1 with an average based on each ID employe taking the sales from the other table, if is possible add a rule that limits year by year, month to month i've been working on this for days and not having results, hope someone can know how i can work this.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for reading.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 16:47:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116601#M16322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-24T16:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Caltulate an average in between two columns from different tables, based on a relationship.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116623#M16329</link>
      <description>&lt;P&gt;Sounds like you need to create a column like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Average Sales = AVERAGEX(RELATEDTABLE('Sales'),'Sales'[Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also wrap RELATEDTABLE with a FILTER to filter down to just the rows you want like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Average Sales = AVERAGEX(FILTER(RELATEDTABLE('Sales'),YEAR([Date]) = 2020),'Sales'[Sales])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is not what you are looking for,&amp;nbsp;Please see this post regarding How to Get Your Question Answered Quickly: &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The most important parts are:&lt;BR /&gt;1. Sample data as text, use the table tool in the editing bar&lt;BR /&gt;2. Expected output from sample data&lt;BR /&gt;3. Explanation in words of how to get from 1. to 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 May 2020 17:32:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116623#M16329</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-24T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Caltulate an average in between two columns from different tables, based on a relationship.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116878#M16353</link>
      <description>&lt;P&gt;It's great thank you very much!!!!&lt;/P&gt;&lt;P&gt;Just a little additional cuestion how can i add another filtere that ignores "0" values this is in case that the employee isn't working that day&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 02:43:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116878#M16353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-25T02:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Caltulate an average in between two columns from different tables, based on a relationship.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116886#M16354</link>
      <description>&lt;P&gt;Sure&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;you could do something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Average Sales = AVERAGEX(FILTER(RELATEDTABLE('Sales'),YEAR([Date]) = 2020 &amp;amp;&amp;amp; [Sales] &amp;lt;&amp;gt; 0),'Sales'[Sales])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 02:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Caltulate-an-average-in-between-two-columns-from-different/m-p/1116886#M16354</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-25T02:55:04Z</dc:date>
    </item>
  </channel>
</rss>

