cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vjnvinod
Frequent Visitor

office365 formula error

hi,

 

I have some issues with this formula below

is there any way I can fix it?

 

vjnvinod_0-1642427032419.png

 

as i result I am getting the below error in play mode

 

vjnvinod_1-1642427391937.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Nogueira1306
Super User
Super User

When I had that problem I did this:

 

If(!IsBlank(ThisItem.'Created by'.DisplayName);Office365Users.UserPhoto(ThisItem.'Creaeted by'.Email);SampleImage)

 

And the error stopped. You can try this:

 

If(!IsBlank(ThisItem.'EP Email ID');Office365Users.UserPhoto(ThisItem.'EP Email ID');SampleImage)

 

IF that field is a person field dont forget to put something like .Mail or .ID on the end.

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

My website!

View solution in original post

2 REPLIES 2
Nogueira1306
Super User
Super User

When I had that problem I did this:

 

If(!IsBlank(ThisItem.'Created by'.DisplayName);Office365Users.UserPhoto(ThisItem.'Creaeted by'.Email);SampleImage)

 

And the error stopped. You can try this:

 

If(!IsBlank(ThisItem.'EP Email ID');Office365Users.UserPhoto(ThisItem.'EP Email ID');SampleImage)

 

IF that field is a person field dont forget to put something like .Mail or .ID on the end.

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Last Post on Community

My website!

vjnvinod
Frequent Visitor

@Nogueira1306 

 

Awesome worked like a charm, thanks so much

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,980)