<?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: Parameter issue in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4625919#M60033</link>
    <description>&lt;P&gt;&lt;FONT&gt;Pensando na possibilidade de trabalhar com um parametro, com valor unico.&amp;nbsp; Seria possível capturar o MINIMO e MAXIMO antes de executar a formula? O objetivo seria gerar a tabela com um intervalo controlado, gerada a partir do valor digitado pelo usuario:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;valor = GENERATESERIES&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT&gt;(&lt;SPAN&gt;&amp;nbsp;MINIMO-5&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;,&amp;nbsp;MAXIMO&lt;FONT color="#ff0000"&gt;+5&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, 0.01)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Ou até mesmo a utilização de um componente visual proprio para a digitação de numeros. Caso exista um componente, você poderia indicar?&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 13:10:23 GMT</pubDate>
    <dc:creator>fabiofoliveira</dc:creator>
    <dc:date>2025-03-26T13:10:23Z</dc:date>
    <item>
      <title>Parameter issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623091#M59988</link>
      <description>&lt;P class=""&gt;Hi all,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;In Power BI, I created a Parameter:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Budget Parameter Salaries =&lt;/SPAN&gt; &lt;SPAN&gt;GENERATESERIES&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;FONT color="#FF0000"&gt;-&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;I then placed this variable in a slicer, which allows me to input numbers manually. However, an issue arises:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;If I enter &lt;STRONG&gt;1&lt;/STRONG&gt; and press &lt;STRONG&gt;Enter&lt;/STRONG&gt;, it displays &lt;STRONG&gt;1&lt;/STRONG&gt; correctly.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;If I enter &lt;STRONG&gt;2&lt;/STRONG&gt; and press &lt;STRONG&gt;Enter&lt;/STRONG&gt;, it displays &lt;STRONG&gt;1&lt;/STRONG&gt; instead.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;The pattern is that &lt;STRONG&gt;odd numbers&lt;/STRONG&gt; display correctly, while &lt;STRONG&gt;even numbers&lt;/STRONG&gt; are shown as &lt;STRONG&gt;(even number - 1)&lt;/STRONG&gt;.&lt;BR /&gt;I am now change the Parameter to:&amp;nbsp; Budget Parameter Salaries = GENERATESERIES&lt;FONT color="#0000FF"&gt;(&lt;FONT color="#FF0000"&gt;-100&lt;/FONT&gt;&lt;/FONT&gt;,&lt;FONT color="#FF0000"&gt;100&lt;/FONT&gt;, 1). Problem solved, what does this mean?&lt;BR /&gt;But I want to keep the range from -1000 to 1000, even bigger, I’m not sure how to resolve this issue, please help me out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brankocareer_0-1742855641221.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1253672i1E21CEF0B74BE2B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brankocareer_0-1742855641221.png" alt="brankocareer_0-1742855641221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P class=""&gt;Branko&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 22:35:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623091#M59988</guid>
      <dc:creator>brankocareer</dc:creator>
      <dc:date>2025-03-24T22:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623138#M59989</link>
      <description>&lt;P&gt;Is that the native regular slicer? I can't replicate&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 23:46:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623138#M59989</guid>
      <dc:creator>Deku</dc:creator>
      <dc:date>2025-03-24T23:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623930#M60004</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/694215"&gt;@brankocareer&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue occurs because power bi&amp;nbsp;numeric input slicer applies internal optimizations when handling large numeric ranges generated by GENERATESERIES. That is why there are unexpected rounding errors where even numbers display incorrectly.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use the &lt;STRONG&gt;dropdown slicer&lt;/STRONG&gt; instead of numeric input slicer, this will pick the exact values instead of applying internal optimizations.&lt;/LI&gt;
&lt;LI&gt;Create a custom DAX table, this prevents the slicer optimizations that effect numeric input fields. Use the Value column in the slicer.&lt;BR /&gt;Ex: Budget Parameter Salaries Table = ADDCOLUMNS(GENERATESERIES(-1000, 1000, 1), "Value", [Value])&lt;/LI&gt;
&lt;LI&gt;Power BI slicers sometimes handle numbers as floating-point values internally, causing rounding errors. please use the following DAX command if required&lt;BR /&gt;Budget Parameter Salaries = INT(GENERATESERIES(-1000, 1000, 1))&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4623930#M60004</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-03-25T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter issue</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4625919#M60033</link>
      <description>&lt;P&gt;&lt;FONT&gt;Pensando na possibilidade de trabalhar com um parametro, com valor unico.&amp;nbsp; Seria possível capturar o MINIMO e MAXIMO antes de executar a formula? O objetivo seria gerar a tabela com um intervalo controlado, gerada a partir do valor digitado pelo usuario:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;valor = GENERATESERIES&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT&gt;(&lt;SPAN&gt;&amp;nbsp;MINIMO-5&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;,&amp;nbsp;MAXIMO&lt;FONT color="#ff0000"&gt;+5&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;, 0.01)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Ou até mesmo a utilização de um componente visual proprio para a digitação de numeros. Caso exista um componente, você poderia indicar?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 13:10:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Parameter-issue/m-p/4625919#M60033</guid>
      <dc:creator>fabiofoliveira</dc:creator>
      <dc:date>2025-03-26T13:10:23Z</dc:date>
    </item>
  </channel>
</rss>

