<?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: Learning DAX  and DAX studio in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2768828#M86100</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try something like below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
TOPN (
    10,
    SELECTCOLUMNS (
        ADDCOLUMNS (
            VALUES ( 'Calendar'[DayName] ),
            "@Uppercase", UPPER ( 'Calendar'[DayName] )
        ),
        "Uppercase", [@Uppercase]
    )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 15 Sep 2022 03:13:36 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-09-15T03:13:36Z</dc:date>
    <item>
      <title>Learning DAX  and DAX studio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2768300#M86068</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this simple DAX line&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE TOPN(10, VALUES(Calendar[DayName]))&lt;/LI-CODE&gt;&lt;P&gt;This column is simply Monday, Tuesday, Wednesday, etc.. and I want to change the case to uppercase. But I can't get the correct syntax correct within DAX Studio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EVALUATE TOPN(10, VALUES(UPPER(Calendar[DayName])))&lt;/LI-CODE&gt;&lt;P&gt;which returned an error stating &lt;EM&gt;this can happen when a measure formual refers to a column that contains many values....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not trying to do anything fancy here, just simply play around with functions. What am I missing?&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 21:01:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2768300#M86068</guid>
      <dc:creator>danman71</dc:creator>
      <dc:date>2022-09-14T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Learning DAX  and DAX studio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2768828#M86100</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try something like below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
TOPN (
    10,
    SELECTCOLUMNS (
        ADDCOLUMNS (
            VALUES ( 'Calendar'[DayName] ),
            "@Uppercase", UPPER ( 'Calendar'[DayName] )
        ),
        "Uppercase", [@Uppercase]
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 15 Sep 2022 03:13:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2768828#M86100</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-15T03:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Learning DAX  and DAX studio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2770826#M86256</link>
      <description>&lt;P&gt;This works, can you explain why you have to do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; "@Uppercase", UPPER ( 'Calendar'[DayName] )
.. snip ..
),
"Uppercase", [@uppercase]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like we are assiging the value of UPPER(calendar[dayname]) to the variable @uppercase, and then returning it at the end? Is that correct?&lt;/P&gt;&lt;P&gt;And why does the table need single ' around it within the function?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 14:28:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2770826#M86256</guid>
      <dc:creator>danman71</dc:creator>
      <dc:date>2022-09-15T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Learning DAX  and DAX studio</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2772265#M86342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;UPPER(Calendar[DayName]) is an expression.&lt;/P&gt;
&lt;P&gt;VALUES () function needs a table or column, not expression.&lt;/P&gt;
&lt;P&gt;This is why I decided to select one of table contructor functions in DAX.&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 05:31:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Learning-DAX-and-DAX-studio/m-p/2772265#M86342</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-16T05:31:48Z</dc:date>
    </item>
  </channel>
</rss>

