<?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: filtering average using another table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2657122#M78619</link>
    <description>&lt;P&gt;I test one more time,&lt;/P&gt;&lt;P&gt;That should be no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you upload the file?&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jul 2022 20:15:25 GMT</pubDate>
    <dc:creator>vapid128</dc:creator>
    <dc:date>2022-07-23T20:15:25Z</dc:date>
    <item>
      <title>filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656646#M78562</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to make a average filterig with another table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[x] Tables have relationships&lt;BR /&gt;[x] one date is type string and the another is type number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table 01&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;idmat |&lt;/TD&gt;&lt;TD&gt;mat&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;classmat&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;name01 |&lt;/TD&gt;&lt;TD&gt;I&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;name02 |&lt;/TD&gt;&lt;TD&gt;II&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;name03 |&lt;/TD&gt;&lt;TD&gt;IV&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;name04&amp;nbsp; |&lt;/TD&gt;&lt;TD&gt;NC&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table 02&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;idmat&lt;/TD&gt;&lt;TD&gt;qtdret&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02&lt;/TD&gt;&lt;TD&gt;33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03&lt;/TD&gt;&lt;TD&gt;34&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this, but not worked&amp;nbsp; because I would like a table with the classmat "I, II,IV":&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'table02'&lt;/SPAN&gt;&lt;SPAN&gt;, table02&lt;/SPAN&gt;&lt;SPAN&gt;'[qtdret]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(table01&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;table01[classmat]&lt;/SPAN&gt;&lt;SPAN&gt; = {&lt;/SPAN&gt;&lt;SPAN&gt;"I"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"II"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"IV"&lt;/SPAN&gt;&lt;SPAN&gt;}))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 23 Jul 2022 01:04:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656646#M78562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-23T01:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656651#M78563</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = CALCULATE(AVERAGE(Table02[qtdret]),FILTER(Table01, Table01[classmat] in {"I","II", "IV"}))&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 23 Jul 2022 01:11:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656651#M78563</guid>
      <dc:creator>vapid128</dc:creator>
      <dc:date>2022-07-23T01:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656851#M78587</link>
      <description>&lt;P&gt;Didnt worked...&lt;BR /&gt;Error:&amp;nbsp;&lt;SPAN&gt;A table of multiple values was supplied where a single value was expected&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 12:36:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656851#M78587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-23T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656919#M78597</link>
      <description>&lt;P&gt;Didn't work...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: A table of multiple values was supplied where a single value was expected&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 15:07:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656919#M78597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-23T15:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656931#M78601</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;you can PM me now and we could do a quick zoom to look together if you want&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 15:21:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2656931#M78601</guid>
      <dc:creator>SpartaBI</dc:creator>
      <dc:date>2022-07-23T15:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2657122#M78619</link>
      <description>&lt;P&gt;I test one more time,&lt;/P&gt;&lt;P&gt;That should be no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you upload the file?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 20:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2657122#M78619</guid>
      <dc:creator>vapid128</dc:creator>
      <dc:date>2022-07-23T20:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: filtering average using another table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2837918#M90608</link>
      <description>&lt;P&gt;I just filter my table to show only the classmat I, II, III and IV.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other way&amp;nbsp; is use the measure &lt;STRONG&gt;lookupvalue&lt;/STRONG&gt; in the table 02.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 00:11:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/filtering-average-using-another-table/m-p/2837918#M90608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T00:11:49Z</dc:date>
    </item>
  </channel>
</rss>

