cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Creating a dashboard on powerapps based on o365 mail ids

I would like to show all the records pending with a particular user (identified using O365 mail id).

My app has a sharepoint list as datasource,so i have changed the created by column to show email id instead of name

and now i am inserting a new screen in my app ,which i need it to fetch the currently logged in user email,compare it with "Created By" column of my sharepoint list and return only matching records..anyway ?

 

I tried the following formulas in 'Items' & 'Visible' property of gallery 

Filter( 'PO list', Created_x0020_by = User().Email)

Lookup( 'PO list', Created_x0020_by = User().Email) 

 

both of them doesn't seem to work well..please help

1 ACCEPTED SOLUTION

Accepted Solutions
Helper I
Helper I

Re: Creating a dashboard on powerapps based on o365 mail ids

Hey there,

 

I believe its a case of having to use Author.Email rather than CreatedBy.

So

Filter('PO list', Author.Email = User().Email)

Try that and see if it helps.

 

Might wanna make sure User().Email actually returns the email in the format you are expecting aswell

View solution in original post

2 REPLIES 2
Helper I
Helper I

Re: Creating a dashboard on powerapps based on o365 mail ids

Hey there,

 

I believe its a case of having to use Author.Email rather than CreatedBy.

So

Filter('PO list', Author.Email = User().Email)

Try that and see if it helps.

 

Might wanna make sure User().Email actually returns the email in the format you are expecting aswell

View solution in original post

Highlighted
Helper V
Helper V

Re: Creating a dashboard on powerapps based on o365 mail ids

Author.Email was what i was missing here..now it works thanks

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (3,418)