<?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: Simple variable check in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311507#M57473</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;Thank you!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 18:14:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-31T18:14:20Z</dc:date>
    <item>
      <title>Simple variable check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311460#M57460</link>
      <description>&lt;P&gt;I am trying to check a variable in DAX Studio with the following syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; YM = &lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; YM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't figure out why I get syntax error message.&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 17:37:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311460#M57460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-31T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple variable check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311479#M57466</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this kind of DAX:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;EVALUATE&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;{&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;latest[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 17:55:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311479#M57466</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-31T17:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple variable check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311502#M57472</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;The reason for this is that DAX Studio expects to be evaluation queries that return tables rather than single values. So you need to use the EVALUATE syntax and wrap a single value in braces { } since that denotes a list (a table with a single column).&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 18:08:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311502#M57472</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-01-31T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simple variable check</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311507#M57473</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 18:14:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Simple-variable-check/m-p/2311507#M57473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-31T18:14:20Z</dc:date>
    </item>
  </channel>
</rss>

