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 / Linking db name to Use...
Power Apps
Answered

Linking db name to User().Fullname

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to select a user in my database that corresponds to the User().Fullname

This way I can pull the users data into the fields in the appl. 

 

The database [db] which has a field "Display Name" in the format - lastname, firstname. 

It also has fields: firstname, lastname

 

User().Fullname returns text in the form firstname + " " + lastname 

 

I can create a datatable which lists Concatenate('[db]'.FirstName, " ", '[db]'.LastName)

 

I've tried Filter('[db]', Concatenate('[db]'.FirstName, " ", '[db]'.LastName) = User().Fullname) - but this returns an error

 

I can Split User().Fullname into a datatable, but I can figure out how to reformat it to match the [db].DisplayName  

Categories:
I have the same question (0)
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    I've tried Filter('[db]', Concatenate('[db]'.FirstName, " ", '[db]'.LastName) = User().Fullname) - but this returns an error

     

    Inside a Filter expression, you don't need to specify '[db]' - you are alread in the context of the rows from the database. If you write your expression as follows it should work.

    Filter('[db]', Concatenate(FirstName, " ", LastName) = User().FullName)

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard