<?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: Cannot convert value '' of type Text to type Integer. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022414#M102903</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="499409" data-lia-user-login="FC_USER" class="lia-mention lia-mention-user"&gt;FC_USER&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Try this one , if you compare multiple Year Selected&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wtf_前年度繰越 = 
CALCULATE(COUNTROWS(yozai),FILTER(yozai,yozai[last_action_date] IN {dateTable[selectedyear]}))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 07:08:22 GMT</pubDate>
    <dc:creator>Mahesh0016</dc:creator>
    <dc:date>2023-01-16T07:08:22Z</dc:date>
    <item>
      <title>Cannot convert value '' of type Text to type Integer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022207#M102891</link>
      <description>&lt;P&gt;I want to create a waterfall chart based on two selected years.&lt;/P&gt;&lt;P&gt;When comparing the results of 2019 and 2020, I want to sum the number of data before 2019 and add the data added in 2020.&lt;/P&gt;&lt;P&gt;I want to get all the data before 2019, but when I enter the function below, an error "Cannot convert value '' of type Text to type Integer." is displayed. Why is this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wtf_test = CALCULATE(COUNTROWS(yozai),FILTER(yozai,yozai[last_action_date] &amp;lt; dateTable[selectedYears]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 05:30:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022207#M102891</guid>
      <dc:creator>FC_USER</dc:creator>
      <dc:date>2023-01-16T05:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot convert value '' of type Text to type Integer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022350#M102899</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="499409" data-lia-user-login="FC_USER" class="lia-mention lia-mention-user"&gt;FC_USER&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;selectedyear = DATE(CONVERT(MID(CONCATENATEX(VALUES(DateTable[Column]),[Column],""),5,8),&lt;SPAN&gt;INTEGER&lt;/SPAN&gt;),1,1)&lt;BR /&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="499409" data-lia-user-login="FC_USER" class="lia-mention lia-mention-user"&gt;FC_USER&lt;/a&gt;&amp;nbsp;If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:36:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022350#M102899</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2023-01-16T06:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot convert value '' of type Text to type Integer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022395#M102902</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="478098" data-lia-user-login="Mahesh0016" class="lia-mention lia-mention-user"&gt;Mahesh0016&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.But The result did not&lt;/P&gt;&lt;P&gt;Do you know how to keep later years from multiple selected years in slicer as values for comparison?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wtf_前年度繰越 = 
CALCULATE(COUNTROWS(yozai),FILTER(yozai,yozai[last_action_date] &amp;lt; dateTable[selectedyear]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:57:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022395#M102902</guid>
      <dc:creator>FC_USER</dc:creator>
      <dc:date>2023-01-16T06:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot convert value '' of type Text to type Integer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022414#M102903</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="499409" data-lia-user-login="FC_USER" class="lia-mention lia-mention-user"&gt;FC_USER&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Try this one , if you compare multiple Year Selected&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;wtf_前年度繰越 = 
CALCULATE(COUNTROWS(yozai),FILTER(yozai,yozai[last_action_date] IN {dateTable[selectedyear]}))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 07:08:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022414#M102903</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2023-01-16T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot convert value '' of type Text to type Integer.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022926#M102926</link>
      <description>&lt;P&gt;I get that same error...&lt;/P&gt;&lt;P&gt;If you give the date directly, it will show the value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MdxScript(Model) (42, 39) Calculation error on measure 'dateTable'[selectedyear]: value '' of type Text cannot be converted to type Integer.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;ーーーーーーーーーーーーーーーーーーー&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 10:30:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Cannot-convert-value-of-type-Text-to-type-Integer/m-p/3022926#M102926</guid>
      <dc:creator>FC_USER</dc:creator>
      <dc:date>2023-01-16T10:30:33Z</dc:date>
    </item>
  </channel>
</rss>

