Filter data between two dates in PowerApps


To filter data between two dates in PowerApps, you can use the Filter function. The Filter function allows you to return a subset of data based on specific criteria.

Here is an example of how to use the Filter function to return data between two dates:

  1. First, create two date picker controls in your PowerApp to select the start and end dates for the filter.
  2. In your data source, create a formula that uses the Filter function to return data based on the selected dates:
Filter(
   YourDataSource,
   YourDateColumn >= StartDatePicker.SelectedDate &&
   YourDateColumn <= EndDatePicker.SelectedDate
)

In this example, YourDataSource is the name of your data source and YourDateColumn is the name of the date column you want to filter on. The StartDatePicker.SelectedDate and EndDatePicker.SelectedDate are the values selected by the date picker controls in your PowerApp. You can then use this filtered data in a gallery or data table to display the results of the filter.

Comments

Popular posts from this blog

InfoPath to PowerApps: Best Practices

Create Azure AD groups from a CSV file

PowerApps Governance: What to consider