Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
madhaviml
Regular Visitor

parameter syntax for teradata sql to restrict data at the dataset - Power BI report builder

Hi,

I am trying to build a paginated report with Teradata SQL

Select column1 from table1

where column1 in @Nameof the parameter

 

How can I send the parameter value to Where cluase directly?

I tried different syntax or expressions ex. below

where column1 in @Nameof the parameter

where column1 in '@Nameof the parameter'

where column1 in ['@Nameof the parameter']

 

Thanks in advance

1 REPLY 1
amitchandak
Super User
Super User

@madhaviml , You should always select it from the expression builder

it should be like

WHERE column1 IN (@parameter_name)

 

refer, if these can help

https://www.youtube.com/watch?v=EZifdFfjTNg

https://www.youtube.com/watch?v=XA5twJ2wLd0

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.