cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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 🙂

 

Thank you.

View solution in original post

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 🙂

 

Thank you.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,153)