<?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: AVERAGEIFS in Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010397#M102044</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="490579" data-lia-user-login="Diogo_Ferreira" class="lia-mention lia-mention-user"&gt;Diogo_Ferreira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition to vicky's solution, you may also try to write a measure like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Measure =
AVERAGEX(
    FILTER(
    'Registros',
    'Registros'[Situação Fornecedor CA] &amp;lt;&amp;gt; "Não Contabilizar"
        &amp;amp;&amp;amp;'Registros'[Último Movimento] = "Sim"
        &amp;amp;&amp;amp;'Registros'[Cancelado] &amp;lt;&amp;gt; "Sim"
        &amp;amp;&amp;amp;'Registros'[Categoria_Maior] &amp;lt;&amp;gt; "Solicitações de serviço"
        &amp;amp;&amp;amp;'Registros'[Categoria_Maior &amp;lt;&amp;gt; Demandas Internas"
    ),
    'Registros'[D]
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 10 Jan 2023 05:58:50 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-01-10T05:58:50Z</dc:date>
    <item>
      <title>AVERAGEIFS in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010322#M102040</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I need to run the excel FUNCTION AVERAGEIFS in Power BI.&lt;BR /&gt;I've tried AVAREGE, AVAREGEX, but i haven't had any success.&lt;/P&gt;&lt;P&gt;The data below the function is followed.&lt;/P&gt;&lt;P&gt;Measure =&lt;BR /&gt;AVERAGEIFS(&lt;BR /&gt;'Registros'[D],&lt;BR /&gt;'Registros'[Situação Fornecedor CA] &amp;lt;&amp;gt; "Não Contabilizar",&lt;BR /&gt;'Registros'[Último Movimento] = "Sim",&lt;BR /&gt;'Registros'[Cancelado] &amp;lt;&amp;gt; "Sim",&lt;BR /&gt;'Registros'[Categoria_Maior] &amp;lt;&amp;gt; "Solicitações de serviço",&lt;BR /&gt;'Registros'[Categoria_Maior &amp;lt;&amp;gt; Demandas Internas"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Tks&lt;/P&gt;&lt;P&gt;Big Hug's&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 04:53:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010322#M102040</guid>
      <dc:creator>Diogo_Ferreira</dc:creator>
      <dc:date>2023-01-10T04:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGEIFS in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010334#M102041</link>
      <description>&lt;P&gt;You will need to use the CALCULATE function with a filter on the Registros table. Try a something like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE(
    AVERAGE('Registros'[D]),
    'Registros'[Situação Fornecedor CA] &amp;lt;&amp;gt; "Não Contabilizar",
    'Registros'[Último Movimento] = "Sim",
    'Registros'[Cancelado] &amp;lt;&amp;gt; "Sim",
    'Registros'[Categoria_Maior] &amp;lt;&amp;gt; "Solicitações de serviço",
    'Registros'[Categoria_Maior &amp;lt;&amp;gt; Demandas Internas"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 05:01:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010334#M102041</guid>
      <dc:creator>vicky_</dc:creator>
      <dc:date>2023-01-10T05:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGEIFS in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010397#M102044</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="490579" data-lia-user-login="Diogo_Ferreira" class="lia-mention lia-mention-user"&gt;Diogo_Ferreira&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition to vicky's solution, you may also try to write a measure like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Measure =
AVERAGEX(
    FILTER(
    'Registros',
    'Registros'[Situação Fornecedor CA] &amp;lt;&amp;gt; "Não Contabilizar"
        &amp;amp;&amp;amp;'Registros'[Último Movimento] = "Sim"
        &amp;amp;&amp;amp;'Registros'[Cancelado] &amp;lt;&amp;gt; "Sim"
        &amp;amp;&amp;amp;'Registros'[Categoria_Maior] &amp;lt;&amp;gt; "Solicitações de serviço"
        &amp;amp;&amp;amp;'Registros'[Categoria_Maior &amp;lt;&amp;gt; Demandas Internas"
    ),
    'Registros'[D]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 10 Jan 2023 05:58:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3010397#M102044</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-10T05:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGEIFS in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3011220#M102084</link>
      <description>&lt;P&gt;Thank you very much, guys.&lt;BR /&gt;Big Hug&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 13:31:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGEIFS-in-Power-BI/m-p/3011220#M102084</guid>
      <dc:creator>Diogo_Ferreira</dc:creator>
      <dc:date>2023-01-10T13:31:08Z</dc:date>
    </item>
  </channel>
</rss>

