SSRS

Dynamic SQL query with SSRS

How to build a dynamic query in a SSRS report that use an input parameter in a where clause for example? How do I create a dynamic SQL query with SSRS, in datasets ? With Reporting Services, the fields