<?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: cannot specify column name without aggregation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389910#M25457</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199830" data-lia-user-login="sheetalshettiga" class="lia-mention lia-mention-user"&gt;sheetalshettiga&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use MAX or SELECTEDVALUE&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 10:13:48 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2020-09-23T10:13:48Z</dc:date>
    <item>
      <title>cannot specify column name without aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389878#M25454</link>
      <description>&lt;P&gt;I have used Left() function to retreive left most characters&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LEFT(PRODUCTS[PRODUCT_ID],1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But it is showing error as aggregation should be applied.hence I used below syntax&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LEFT(MAX(PRODUCTS[PRODUCT_ID]),1) which shows correct result&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Why should I apply aggregation to every function.I tried with other dax functions as well it asks for aggregation of columns whenever i use a column.Ho can I avoid using aggregations?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Below is the dataset&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Sep 2020 09:57:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389878#M25454</guid>
      <dc:creator>sheetalshettiga</dc:creator>
      <dc:date>2020-09-23T09:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: cannot specify column name without aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389894#M25455</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199830" data-lia-user-login="sheetalshettiga" class="lia-mention lia-mention-user"&gt;sheetalshettiga&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When you use a measure, you cannot access a value/column directly, it has to be covered by a function. If you are adding a column in a table then it is possible to directly refer without such functions as you are in a row context. This also applies when you use iteration functions such as SUMX, MAXX, and so on.&lt;BR /&gt;&lt;BR /&gt;Hope it made it clear?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 10:05:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389894#M25455</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-09-23T10:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: cannot specify column name without aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389907#M25456</link>
      <description>&lt;P&gt;So what aggregation should I use while referring to any column in any of the dax functions ?&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="52518" data-lia-user-login="Fowmy" class="lia-mention lia-mention-user"&gt;Fowmy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 10:13:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389907#M25456</guid>
      <dc:creator>sheetalshettiga</dc:creator>
      <dc:date>2020-09-23T10:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: cannot specify column name without aggregation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389910#M25457</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="199830" data-lia-user-login="sheetalshettiga" class="lia-mention lia-mention-user"&gt;sheetalshettiga&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use MAX or SELECTEDVALUE&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 10:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/cannot-specify-column-name-without-aggregation/m-p/1389910#M25457</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-09-23T10:13:48Z</dc:date>
    </item>
  </channel>
</rss>

