web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting the Email of t...
Power Apps
Unanswered

Getting the Email of the "Created By" Column

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a "Created By" column in my dataverse table but when I try to use ThisItem.'Created By', there's no email field.

I tried to use ThisItem.'Created By'.'Primary Email' but that returns a blank. 

How do I get the Email?

 

Jimmyseow_0-1637831025718.png

 

dataverse email.jpg
Categories:
I have the same question (0)
  • nickellis74 Profile Picture
    432 Moderator on at

    I believe you need the 'Preferred Email' field. I had this problem as well and that was the solution that worked for me.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Unfortunately, that returns 'Blank' as well as do "Email 2".

  • v-JessicaG-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Do you want to get the email in "Created By" Column?

     

    You could check in the Dataverse whether the “email” field in the table corresponding to the lookup relationship in the "Created By" Column has been renamed, and check whether the primary Email field in the User table is also empty. If all are empty, you could find the field that stores the email, and select the corresponding field in the formula to get the Email. Please refer to the screenshot below:

    vJessicaGmsft_0-1637918856356.jpeg

    vJessicaGmsft_1-1637919113614.png

    vJessicaGmsft_2-1637919357824.png

     

    Best Regards,

    Jessica Gu

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Just to clarify, my app is a Microsoft Teams App and not the main PowerApps.

    I did find the Users table in the main PowerApps and when I filtered for my name, it returned the Primary Email address correctly.

    Unfortunately, using ThisItem.'Created By'.'Primary Email' in Microsoft Teams App does not give me the right value. It's just a blank.

  • Valentijn Profile Picture
    21 on at

    'Created By' is a record. I used a label  to resolve the e-mailadres. text = datacard_CreatedBy.Selected.'primary address'

    '

  • hiteshn Profile Picture
    61 on at

    I was also stucked in this situation. I want to filter the dataverse table based on the current user. This worked for me.

     

    'Created By'.'Primary Email'
    this will give you email address.
     
    Filter is below:
    Filter('Table Name',Lower(User().Email) = Lower('Created By'.'Primary Email'))
     
    Remember to use lower function in filter, since User().email gives you camelcase and createdby gives smallcase, otherwise it won't work.
     
    Want to use it in gallery, below:
    ThisItem.'Created By'.'Primary Email'.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard