<?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: Issues with having a right formula in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3259710#M120490</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;using Utilisation_Product =
AVERAGEX ( VALUES ( 'X'[Y] ), COALESCE ( [Utilisation], 0 ) )&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 30 May 2023 12:49:40 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-05-30T12:49:40Z</dc:date>
    <item>
      <title>Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255642#M120225</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I am trying to get the right subtotals and total averages in the utilisation matrix report I am creating. I am using this DAX: IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISINSCOPE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'X'&lt;/SPAN&gt;&lt;SPAN&gt;[Y]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[sum]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;[count]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Utilisation]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have different type of utilisation, and for some reason the results that it provide in both are the same and I am not sure why the "sum" formula does not provide the right infromation I need.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sum = &lt;/SPAN&gt;&lt;SPAN&gt;SUMX(Table, Utilisation&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#Thank you&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 May 2023 15:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255642#M120225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-26T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255673#M120229</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if Utilisation is a measure tye&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sum = &lt;/SPAN&gt;&lt;SPAN&gt;SUMX ( VALUES ( 'X'[Y] ), [Utilisation] )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 15:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255673#M120229</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-26T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255731#M120234</link>
      <description>&lt;P&gt;Hi Tamerj1, thank you so much for your help on this :). That definitely solved my sum formula, but it did not fix my error on the matrix to average correctly the product and subproduct categories I have ignoring the blanks, and I was using Utilisation_Product=&amp;nbsp;&lt;SPAN&gt;IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ISINSCOPE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'X'&lt;/SPAN&gt;&lt;SPAN&gt;[Y]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;[sum]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;[count]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Utilisation]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;()), any idea about this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255731#M120234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-26T16:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255954#M120242</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How does your matrix look like? What columns are placed in the matrix? What results are you expecting?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 20:23:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3255954#M120242</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-26T20:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3259668#M120488</link>
      <description>&lt;P&gt;So I have Practice on top, then group and the resource, divided by months. But my matrix has some blanks on the resources, so I want that the subtotals for Group and Practice has the right average of utilisation ignoring the blanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that something you have reviewed in the past?&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 12:24:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3259668#M120488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-30T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with having a right formula</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3259710#M120490</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;using Utilisation_Product =
AVERAGEX ( VALUES ( 'X'[Y] ), COALESCE ( [Utilisation], 0 ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 30 May 2023 12:49:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issues-with-having-a-right-formula/m-p/3259710#M120490</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-30T12:49:40Z</dc:date>
    </item>
  </channel>
</rss>

