<?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 I'm getting this error in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496046#M68861</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to implement the below calculation, but unfortunately, I'm getting the error. Do the needful please!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year1 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Irdbook&lt;/SPAN&gt;&lt;SPAN&gt;[Bookings]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Year]&lt;/SPAN&gt;&lt;SPAN&gt;=(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Year]&lt;/SPAN&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error message :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Calculation error in measure, DAX comparison operations do not support comparing values of type text with values of type number. Consider using the VALUE or FORMAT function to convert one of the values.&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 12:45:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-05T12:45:20Z</dc:date>
    <item>
      <title>I'm getting this error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496046#M68861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to implement the below calculation, but unfortunately, I'm getting the error. Do the needful please!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year1 = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Irdbook&lt;/SPAN&gt;&lt;SPAN&gt;[Bookings]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Year]&lt;/SPAN&gt;&lt;SPAN&gt;=(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'[Year]&lt;/SPAN&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Error message :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Calculation error in measure, DAX comparison operations do not support comparing values of type text with values of type number. Consider using the VALUE or FORMAT function to convert one of the values.&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 12:45:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496046#M68861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-05T12:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting this error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496105#M68866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first step is to double check the data type of the Calendar[Year] column.&amp;nbsp;&lt;BR /&gt;Also, is&amp;nbsp;&lt;SPAN&gt;Irdbook&lt;/SPAN&gt;&lt;SPAN&gt;[Bookings] a column or a measure? If column, you need to provide some sort of aggregation like SUM, MIN, MAX or AVERAGE&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 13:09:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496105#M68866</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-05T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting this error</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496119#M68868</link>
      <description>&lt;P&gt;Hey Thanks,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Data type was mismatched in the calender [year]. Now it has been fixed.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 13:13:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/I-m-getting-this-error/m-p/2496119#M68868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-05T13:13:19Z</dc:date>
    </item>
  </channel>
</rss>

