<?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: Error message in  DAX while using Summarize in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-message-in-DAX-while-using-Summarize/m-p/4355318#M58932</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497882" data-lia-user-login="smishra99acres" class="lia-mention lia-mention-user"&gt;smishra99acres&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Summarize function creates a table.&lt;/P&gt;&lt;P&gt;You cannot use it by itself in a measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use New Table to create a table using the summarize function:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to use it in a measure, you need to do something with the table.&lt;/P&gt;&lt;P&gt;AggregateX functions like MaxX, AverageX and SumX let you aggregate the rows of data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here for example I am using Summarize to calculate for each Quantity what the Sum of Price is.&lt;/P&gt;&lt;P&gt;Then using AggergateX to return the overall average.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 13:38:50 GMT</pubDate>
    <dc:creator>SamWiseOwl</dc:creator>
    <dc:date>2025-01-08T13:38:50Z</dc:date>
    <item>
      <title>Error message in  DAX while using Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-message-in-DAX-while-using-Summarize/m-p/4354845#M58929</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 09:25:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-message-in-DAX-while-using-Summarize/m-p/4354845#M58929</guid>
      <dc:creator>smishra99acres</dc:creator>
      <dc:date>2025-01-08T09:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error message in  DAX while using Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-message-in-DAX-while-using-Summarize/m-p/4355318#M58932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497882" data-lia-user-login="smishra99acres" class="lia-mention lia-mention-user"&gt;smishra99acres&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Summarize function creates a table.&lt;/P&gt;&lt;P&gt;You cannot use it by itself in a measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use New Table to create a table using the summarize function:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to use it in a measure, you need to do something with the table.&lt;/P&gt;&lt;P&gt;AggregateX functions like MaxX, AverageX and SumX let you aggregate the rows of data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here for example I am using Summarize to calculate for each Quantity what the Sum of Price is.&lt;/P&gt;&lt;P&gt;Then using AggergateX to return the overall average.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:38:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-message-in-DAX-while-using-Summarize/m-p/4355318#M58932</guid>
      <dc:creator>SamWiseOwl</dc:creator>
      <dc:date>2025-01-08T13:38:50Z</dc:date>
    </item>
  </channel>
</rss>

