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 / View data form on Powe...
Power Apps
Answered

View data form on Power Apps

(1) ShareShare
ReportReport
Posted on by 691

Hello, I am creating an application with "Power App" and I would like to display 2 lists from SharePoint on my page. The "Note de frais" list and the "Cagnottes" list.

s44_0-1640078859434.pngs44_1-1640078900887.png


But when I invoke my "Cagnottes" list on my page on Power Apps, the list does not contain any data.

s44_2-1640078965936.png

 

 

I would like to be able to display the data of the "Cagnottes" list according to the Name/First Name (Nom-Prénom) of a person.

 

For example if here I display Sarah's expense report (Note de frais), I would like it to also display money pot (Cagnotte) of Sarah.

 

PS : (The "Nom Prenom" field is of Person type)

 

Do you understand what I'm trying to explain ><?

Thank you in advance for your help !

Categories:
I have the same question (0)
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    Yes i understand this can be done but i have some questions 🙂

    First does everyone have unique first names? - if not we should consider using email

    Second are we showing this matching to the current user on the app or are we selecting a user in the app to see?

     

     

  • Hii_iii Profile Picture
    691 on at

    @AJ_Z These are unique first names, and I would like to do this with the current user on the app ^^

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    so for what you are asking for the item on the form should be something like:
    LookUp(Cagnottes,First(Split('Nom Prenom'.DisplayName," ")).Result = First(Split(User().FullName," ")).Result) 

    I do not really recommend the above. I prefer the below:
    LookUp(Cagnottes,'Nom Prenom'.Email = User().Email)

    see if this one meets your use case.

    if you want to go through this on a Teams call let me know or i can continue to answer questions here either works 🙂

  • Hii_iii Profile Picture
    691 on at

    @AJ_Z It tells me an error when I use these formulas, as you can see from the screenshots 😞  (I prefer to continue on this forum rather than Teams if you don't mind >< )

    s44_0-1640183420222.png

    s44_1-1640183608497.png

     

  • Verified answer
    AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    No problem at all 🙂

     

    also i realised you are using a version of European powerapps (i am guessing french) change all of my , to ; so it should be:

    so for what you are asking for the item on the form should be something like:
    LookUp(Cagnottes;First(Split('Nom Prenom'.DisplayName;" ")).Result = First(Split(User().FullName;" ")).Result) 

    I do not really recommend the above. I prefer the below:
    LookUp(Cagnottes;'Nom Prenom'.Email = User().Email)

  • Hii_iii Profile Picture
    691 on at

    Thank you very much  ! It's work 😄 !!

  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    I am delighted to have helped take care and i wish you a Merry Christmas and a Happy New Year 🙂

  • Hii_iii Profile Picture
    691 on at

    Thank you Merry Christmas and Happy New Year to you too! ^^

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard