<?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: Query Parameters for Teradata SQL Query in Report Builder in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4003116#M35447</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="762970" data-lia-user-login="Smcqueen2024" class="lia-mention lia-mention-user"&gt;Smcqueen2024&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check the following unicode values and parameters. Is there a detailed screenshot of the error?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 02:50:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-21T02:50:47Z</dc:date>
    <item>
      <title>Query Parameters for Teradata SQL Query in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4000990#M35417</link>
      <description>&lt;UL&gt;&lt;LI&gt;I am trying to use query parameters in a query to Teradata. When I use the (@ParameterName) syntax, I get a Teradata error saying the number of parameters called does not match the number of parameters defined. My assumption is that the call for parameters in Teradata is the same as Report Builder, so Teradata is getting confused? I also tried the M Query parameter call "&amp;amp;ParameterName" and it actually called the value. But I got an error saying Teradata expected something between a unicode value and the parameter. Is there a way to escape the parameter call? Or there some other syntax I can use?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 20 Jun 2024 02:30:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4000990#M35417</guid>
      <dc:creator>Smcqueen2024</dc:creator>
      <dc:date>2024-06-20T02:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query Parameters for Teradata SQL Query in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4003116#M35447</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="762970" data-lia-user-login="Smcqueen2024" class="lia-mention lia-mention-user"&gt;Smcqueen2024&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please check the following unicode values and parameters. Is there a detailed screenshot of the error?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Xianda Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 02:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4003116#M35447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-21T02:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query Parameters for Teradata SQL Query in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4395020#M39552</link>
      <description>&lt;P&gt;Were you able to get past this error ? I use the same Teradata + Report Builder. What is the correct syntax in defining a parameter in the SQL ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 19:58:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4395020#M39552</guid>
      <dc:creator>rnola16</dc:creator>
      <dc:date>2025-02-04T19:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query Parameters for Teradata SQL Query in Report Builder</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4411105#M39671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="762970" data-lia-user-login="Smcqueen2024" class="lia-mention lia-mention-user"&gt;Smcqueen2024&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;When using query parameters in Teradata within Power BI Report Builder, the standard @ParameterName syntax does not work because Teradata does not support named parameters like SQL Server. Instead, Teradata uses question marks (?) as placeholders for query parameters. However, Power BI Report Builder does not directly bind parameters to ?, so an explicit CAST statement is required. To ensure proper execution, modify the query by replacing @ParameterName with ? and explicitly casting it, such as CAST(? AS VARCHAR(100)). In Report Builder, navigate to the dataset properties and correctly map the ? placeholder to the corresponding parameter. If you encounter errors when using &amp;amp;ParameterName (which is specific to Power Query), avoid that approach. Alternatively, you can handle dynamic filtering by modifying the query to allow for an "All Values" option, using a condition like WHERE ColumnName = ? OR ? IS NULL. By following this approach, Teradata will correctly interpret the parameters, preventing syntax errors and ensuring proper filtering in the report.&lt;/P&gt;
&lt;P data-pm-slice="0 0 []"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 12:55:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Query-Parameters-for-Teradata-SQL-Query-in-Report-Builder/m-p/4411105#M39671</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2025-02-14T12:55:27Z</dc:date>
    </item>
  </channel>
</rss>

