Introduction

The Filter function in PowerApps allows you to filter data based on specific criteria. When working with SharePoint data sources, this function becomes invaluable for retrieving, sorting, and displaying the data you need. To use the Filter function effectively, it's important to understand its syntax:

Filter(Source, Formula)

Prerequisites

Before diving into the Filter function, ensure you have the following prerequisites:

Now, let's walk through the process step by step.

Connect to SharePoint

Insert a Gallery

Configure the Gallery

Use filter function for different types of columns

Text column

Let's apply filters to the Text column for values equal to 'Item 1'.

Filter('PowerApps Filter', Title = "Item 1")

Filter Text

Choice column

Let's apply filters to the Choice column for values equal to 'Choice #1'.

Filter('PowerApps Filter', ChoiceField.Value = "Choice #1")

Choice Column

Multi-select choice column

Let's apply filters to the Multichoice column for values containing 'SharePoint'.

Filter('PowerApps Filter', "SharePoint" in 'MultiChoice - Skills'.Value)

Multi Select choice column

Boolean column

Let's apply filters to the Boolean column for values equal to true.

Filter('PowerApps Filter', BooleanField = true)

Boolean

Currency column

Let's apply filters to the Currency column for values equal to 100.

Filter('PowerApps Filter', CurrencyField = 100)

Currency

Number column

Let's apply filters to the Number column for values equal to 100, greater than 100, and so on.

Filter('PowerApps Filter', NumberField = 100);
Filter('PowerApps Filter', NumberField > 100);
Filter('PowerApps Filter', NumberField >= 100);
Filter('PowerApps Filter', NumberField < 300);
Filter('PowerApps Filter', NumberField <= 300);

Number column
Number column

Lookup column

Date column

Person column

Summary

In this article, we've delved into the utilization of the Filter function in PowerApps to handle different types of SharePoint list columns such as people, lookup, date, and more.

I hope this helps.

Sharing is caring!