cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
piotrsz
New Member

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 Resolver III
Resolver III

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,073)