<?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: Help with model fix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-model-fix/m-p/2506458#M69415</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error detail has shown that 'A column specified in the call to function '&lt;A href="https://docs.microsoft.com/en-us/dax/endofmonth-function-dax" target="_blank" rel="noopener"&gt;ENDOFMONTH&lt;/A&gt;' is not Type of DATE'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please check if your Table ‘Dates’&amp;nbsp; is continuous and the data type of date[date] is &lt;STRONG&gt;&amp;nbsp;of type DATE.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can refer to these related threads.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Reason-for-error-A-column-specified-in-the-call-to-function/m-p/434924" target="_self"&gt;Reason for error: 'A column specified in the call to function 'PARALLELPERIOD' is not of type DATE'&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/A-column-specified-in-the-call-to-function-is-not-of-type-date/m-p/2030228" target="_blank" rel="noopener"&gt;A column specified in the call to function is not of type date&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/MdxScript-Model-8-67-Calculation-error-in-measure-A-column/m-p/1862226" target="_blank" rel="noopener"&gt;MdxScript(Model) (8, 67) Calculation error in measure A column specified in the call to function&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 05:45:11 GMT</pubDate>
    <dc:creator>v-easonf-msft</dc:creator>
    <dc:date>2022-05-11T05:45:11Z</dc:date>
    <item>
      <title>Help with model fix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-model-fix/m-p/2500323#M69130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an issue with my model, it was working perfectly but all of a sudden I am getting the below error. It relates to one of the formula below howver I can not find anything wrong with the formula. Additionally, if I refresh each of the tables individually on transform data it works however if I hit refresh on the visuals then it gives the below error. Please help I am not entirely sure what wrong or how to fix. I have also sent frown which directed m&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HT - Days Worked = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;targetstartdate&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Global Staff Targets'[Target Start Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;endomonth&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;ENDOFMONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Dates[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SP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gt;targetstartdate&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;startdate&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;enddate&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DAY&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;, (&lt;/SPAN&gt;&lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;startdate&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;enddate&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;DAY&lt;/SPAN&gt;&lt;SPAN&gt;)))+&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2022 18:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-model-fix/m-p/2500323#M69130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-08T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with model fix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-model-fix/m-p/2506458#M69415</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error detail has shown that 'A column specified in the call to function '&lt;A href="https://docs.microsoft.com/en-us/dax/endofmonth-function-dax" target="_blank" rel="noopener"&gt;ENDOFMONTH&lt;/A&gt;' is not Type of DATE'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please check if your Table ‘Dates’&amp;nbsp; is continuous and the data type of date[date] is &lt;STRONG&gt;&amp;nbsp;of type DATE.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can refer to these related threads.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Reason-for-error-A-column-specified-in-the-call-to-function/m-p/434924" target="_self"&gt;Reason for error: 'A column specified in the call to function 'PARALLELPERIOD' is not of type DATE'&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/A-column-specified-in-the-call-to-function-is-not-of-type-date/m-p/2030228" target="_blank" rel="noopener"&gt;A column specified in the call to function is not of type date&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/MdxScript-Model-8-67-Calculation-error-in-measure-A-column/m-p/1862226" target="_blank" rel="noopener"&gt;MdxScript(Model) (8, 67) Calculation error in measure A column specified in the call to function&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 05:45:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-model-fix/m-p/2506458#M69415</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-05-11T05:45:11Z</dc:date>
    </item>
  </channel>
</rss>

