The Filter() function is used to filter data based on conditions. The syntax is: Filter(DataSource, condition). For example, Filter(Orders, Product = 'Product1').