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

Filtering the Gallery over field updated by Office365Users()

Dear All,

I have a CDS Entity with two columns: EmployeeEmail and Comment. 

My Gallery displays information on each employee using Office365Users() functions. One of the information field includes Out-Of-Office message using:

 

Office365.GetMailTips(EmployeeEmail).AutomaticReplies.Message

 

I want to filter and show only the records that show Automatic Reply. I used a control checkbox that has value=true if above message is not blank and wanted to filter the records over the value of the checkbox. However Filter function informs me that it does not work while recurring to the record item.

 

What is the way to do that?

 

Thanks and regards

Peter 

1 REPLY 1
xzDan
Level 8

Re: Filtering the Gallery over field updated by Office365Users()

I just made a quick test which showed only those with automatic reply message not blank

 

Filter(
Table(
Office365.GetMailTips("email1"),
Office365.GetMailTips("email2"),
Office365.GetMailTips("email3")),
!IsBlank(AutomaticReplies.Message))

 

Maybe that will help

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 (4,486)