Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 &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.
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 ?
Thanks.
Hi @Smcqueen2024 ,
Please check the following unicode values and parameters. Is there a detailed screenshot of the error?
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
7 | |
6 | |
6 | |
4 | |
3 |