cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
machehboune
Level: Power Up

PowerApps connected to a Excel file.

Hello everyone,

I created an App using PowerApps, connected to an Excel file in OneDrive Entreprise.

In the Excel sheet, I have a Date column, in which I add the expiration date of Wifi acces we create to our clients.

Using the SortByColumns(Search(.... I only want to display Wifi Acces that are still available.

Thanks in advance.

Regards.

1 ACCEPTED SOLUTION

Accepted Solutions
machehboune
Level: Power Up

Re: PowerApps connected to a Excel file.

Hi @v-monli-msft Again,

 

I used the Filter function like so:

 

SortByColumns(Search(Filter([@WifiApp]; Date_x0020_expiration >= Today()); TextSearchBox1.Text; "Client"; "Demandeur"); "Client"; If(SortDescending1; Descending; Ascending))

 

Works like a charme Smiley Happy

 

Thank you.

3 REPLIES 3
Community Support Team
Community Support Team

Re: PowerApps connected to a Excel file.

Hi @machehboune,

 

Did you mean that you want to filter the items with expiration date later than today? Please try below formula:

 

Filter('Testing list', ExpirationDate>=Today())

 

Please have a try and see if this works.

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
machehboune
Level: Power Up

Re: PowerApps connected to a Excel file.

Hi @v-monli-msft

 

Thank you for your reply.

Here's the current syntax i'm using:

 

SortByColumns(Search(WifiApp; TextSearchBox1.Text; "Client"; "Login1"); "Client"; If(SortDescending1; Descending; Ascending))

 

Could you please tell me where to add the Filter function.

Thank you.

machehboune
Level: Power Up

Re: PowerApps connected to a Excel file.

Hi @v-monli-msft Again,

 

I used the Filter function like so:

 

SortByColumns(Search(Filter([@WifiApp]; Date_x0020_expiration >= Today()); TextSearchBox1.Text; "Client"; "Demandeur"); "Client"; If(SortDescending1; Descending; Ascending))

 

Works like a charme Smiley Happy

 

Thank you.