<?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: Basic DAX Issue in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918863#M186772</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;You’re writing &lt;FONT color="#000000"&gt;measure definitions in DAX Query View and pressing Run. But DAX Query View does not accept measure definitions.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Example 1: simple calculation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
ROW ( "Result", 2 + 3 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Example 2: test your aggregation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
SUMMARIZE (
    'Table 1',
    "Total AQuality", SUM ( 'Table 1'[AQuality] )
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Now press Run → results will appear.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;DAX Query View runs queries (EVALUATE …), not measure definitions. Create measures in the measure editor, or wrap logic in EVALUATE when using Query View.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 18:27:30 GMT</pubDate>
    <dc:creator>cengizhanarslan</dc:creator>
    <dc:date>2026-01-15T18:27:30Z</dc:date>
    <item>
      <title>Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918718#M186767</link>
      <description>&lt;P&gt;I have created measures before but have not used the DAX Query View, now tried to do basic things but I am failing in anything,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand I am new to this but sounds I am missing something&amp;nbsp; basic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test_Measure = sum('Table 1'[AQuality])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I hit the Run and at the bottom I see Results window below it&amp;nbsp; says "Resolve the error to see the results." and it does not show me where is the error.&amp;nbsp;Even something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test = 2+3&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fails with similar error.&amp;nbsp;What am I missing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 14:28:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918718#M186767</guid>
      <dc:creator>Clockwise</dc:creator>
      <dc:date>2026-01-15T14:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918763#M186768</link>
      <description>&lt;P&gt;Hi, You’re not missing anything obvious this is just how DAX Query View works, and it’s a bit confusing at first. The key thing is that DAX Query View does NOT run measures. It only runs DAX queries. So when you write something like: Test_Measure = SUM ( 'Table 1'[AQuality] ) or even: 2 + 3 it will always fail there, even though those are perfectly valid DAX expressions. In DAX Query View, everything has to be a query, and queries must start with EVALUATE. For example, this will work: EVALUATE ROW ( "Result", 2 + 3 ) Or for your column sum: EVALUATE ROW ( "Total AQuality", SUM ( 'Table 1'[AQuality] ) ) You should see the result in the Results pane after running it. If your goal is just to create a measure, you don’t need DAX Query View at all. Just go to New measure in Report or Model view and paste: Test_Measure = SUM ( 'Table 1'[AQuality] ) Think of DAX Query View more like running a SQL SELECT statement it’s for testing queries, not defining measures. This trips up a lot of people at first, so you’re definitely not alone&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 15:21:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918763#M186768</guid>
      <dc:creator>RV0251</dc:creator>
      <dc:date>2026-01-15T15:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918788#M186769</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1509418" data-lia-user-login="Clockwise" class="lia-mention lia-mention-user"&gt;Clockwise&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;check out this, maybe it helps you with kick start:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/transform-model/dax-query-view" target="_blank" rel="noopener"&gt;DAX Query View - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And, dont forget the "Evaluate" in the beginning &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Best regards!&lt;/P&gt;&lt;P class=""&gt;PS: If you find this post helpful consider leaving kudos or mark it as solution&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 16:01:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918788#M186769</guid>
      <dc:creator>Mauro89</dc:creator>
      <dc:date>2026-01-15T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918812#M186770</link>
      <description>&lt;P&gt;Thanks for the reply. Actually I was reading that page too, so I changed the formulae&amp;nbsp;to something like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Define &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;measure 'Table1'[Measure_test] = sum('Table1'[AQuality])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Evaluate&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"Measure_test"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;[Measure_test]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems something&amp;nbsp;is working&amp;nbsp;but not fully now, so got this error now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A single value for column 'AQuality' in table 'Table1' cannot be determined. This can happen when a measure or function formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess the sum was not the right choice,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 16:29:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918812#M186770</guid>
      <dc:creator>Clockwise</dc:creator>
      <dc:date>2026-01-15T16:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918863#M186772</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;You’re writing &lt;FONT color="#000000"&gt;measure definitions in DAX Query View and pressing Run. But DAX Query View does not accept measure definitions.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Example 1: simple calculation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
ROW ( "Result", 2 + 3 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Example 2: test your aggregation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H3&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE
SUMMARIZE (
    'Table 1',
    "Total AQuality", SUM ( 'Table 1'[AQuality] )
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Now press Run → results will appear.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;DAX Query View runs queries (EVALUATE …), not measure definitions. Create measures in the measure editor, or wrap logic in EVALUATE when using Query View.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 18:27:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918863#M186772</guid>
      <dc:creator>cengizhanarslan</dc:creator>
      <dc:date>2026-01-15T18:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918900#M186773</link>
      <description>&lt;P&gt;This is a great way to explain! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 19:49:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4918900#M186773</guid>
      <dc:creator>Clockwise</dc:creator>
      <dc:date>2026-01-15T19:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Basic DAX Issue</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4919468#M186784</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1509418" data-lia-user-login="Clockwise" class="lia-mention lia-mention-user"&gt;Clockwise&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Query View is for EVALUATE queries only:&lt;/P&gt;
&lt;PRE&gt;EVALUATE&lt;BR /&gt;ROW("Test", 2+3)&lt;/PRE&gt;
&lt;P&gt;If this answer helped, please click &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; or Accept as Solution.&lt;BR /&gt;-Kedar&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank"&gt;https://www.linkedin.com/in/kedar-pande&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 13:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Basic-DAX-Issue/m-p/4919468#M186784</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2026-01-16T13:23:04Z</dc:date>
    </item>
  </channel>
</rss>

