<?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 with parameter data type in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1568120#M17259</link>
    <description>&lt;P&gt;What is your reason for including the calendar month in the SUMMARIZECOLUMNS() call when you also filter by it? Seems redundant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using Number.From('Calendario'[Mes]) in the filter?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 00:10:27 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-12-24T00:10:27Z</dc:date>
    <item>
      <title>Error with parameter data type</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1567017#M17256</link>
      <description>&lt;P&gt;Hello eveybody and Happy Christmas:&lt;/P&gt;&lt;P&gt;I'm very new in Report Builder and i'm unable to create a new dataset based on a parameter.&lt;/P&gt;&lt;P&gt;I have this simple DAX:&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;DEFINE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;VAR UltMesCerrado=value(@UltMes)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;EVALUATE&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-align-left lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;SUMMARIZECOLUMNS(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;'Calendario'[Año],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;'Calendario'[Mes],&amp;nbsp; &amp;nbsp; &amp;nbsp;// This is the month number&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;'Calendario'[MesTexto],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;FILTER(Calendario, 'Calendario'[Mes] = UltMesCerrado),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;"Gastos", 'AA_Medidas'[Gastos])&lt;/FONT&gt;&lt;FONT color="#3366FF"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i run it I get a message saying that [Calendario].[Mes].[4] cant't be converted from text to number.&lt;/P&gt;&lt;P&gt;[Calendario].[Mes].[4] is the default value of the parameter, which is defined as integer in the parametes section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much apreciated. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jon Marquet&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 10:43:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1567017#M17256</guid>
      <dc:creator>Jonete</dc:creator>
      <dc:date>2020-12-23T10:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error with parameter data type</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1568120#M17259</link>
      <description>&lt;P&gt;What is your reason for including the calendar month in the SUMMARIZECOLUMNS() call when you also filter by it? Seems redundant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using Number.From('Calendario'[Mes]) in the filter?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 00:10:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1568120#M17259</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-12-24T00:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error with parameter data type</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1577042#M17325</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17470" data-lia-user-login="Jonete" class="lia-mention lia-mention-user"&gt;Jonete&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you use Value function in your formula to cobvert text value to&amp;nbsp;&lt;SPAN&gt;number value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;f this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dedmon Dai&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 06:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Error-with-parameter-data-type/m-p/1577042#M17325</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-01-01T06:38:31Z</dc:date>
    </item>
  </channel>
</rss>

