<?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: Error MdxScritp(Model)(155,63) &amp;gt; Cannot convert value &amp;quot;-&amp;quot; of type Text to type Numeric/Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3317397#M124135</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both my measure and tables are in decimal numbers.&lt;/P&gt;&lt;P&gt;Other tables were just okay... No problem. ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NickzNickz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jul 2023 02:41:44 GMT</pubDate>
    <dc:creator>NickzNickz</dc:creator>
    <dc:date>2023-07-06T02:41:44Z</dc:date>
    <item>
      <title>Error MdxScritp(Model)(155,63) &gt; Cannot convert value "-" of type Text to type Numeric/Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3314312#M123960</link>
      <description>&lt;P&gt;Hi ..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I have below testing measures and can view the result...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Migration (RM) = 
VAR _Result = 
    CALCULATE(
        SUM( fin_migration[Migration (M)] ),
        fin_migration[Date] = MAX( fin_migration[Date] ),
        fin_migration[Month] = MAX( fin_migration[Month] )
    )

RETURN
IF(ISBLANK(_Result),"0.00",_Result)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to change from "0.00" to "-" , I received&amp;nbsp; an error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MdxScritp(Model)(155,63) &amp;gt; Cannot convert value "-" of type Text to type Numeric/Date&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do next to resolve the problem? ...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;NickzNickz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 11:07:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3314312#M123960</guid>
      <dc:creator>NickzNickz</dc:creator>
      <dc:date>2023-07-04T11:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error MdxScritp(Model)(155,63) &gt; Cannot convert value "-" of type Text to type Numeric/Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3314496#M123973</link>
      <description>&lt;P&gt;A measure can only return values of a single type, so everything will need to be numeric or everything will need to be text. If you want to return the values as text you could use the FORMAT function, otherwise you'll need to keep the measure returning blank or 0 when the result is blank.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 12:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3314496#M123973</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-07-04T12:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error MdxScritp(Model)(155,63) &gt; Cannot convert value "-" of type Text to type Numeric/Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3317397#M124135</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both my measure and tables are in decimal numbers.&lt;/P&gt;&lt;P&gt;Other tables were just okay... No problem. ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NickzNickz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 02:41:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Error-MdxScritp-Model-155-63-gt-Cannot-convert-value-quot-quot/m-p/3317397#M124135</guid>
      <dc:creator>NickzNickz</dc:creator>
      <dc:date>2023-07-06T02:41:44Z</dc:date>
    </item>
  </channel>
</rss>

