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 / Lookup and show choice...
Power Apps
Answered

Lookup and show choices using in EditForm for New

(0) ShareShare
ReportReport
Posted on by 442

Look up the Head Sponsor, Sponsor 1, and Sponsor 2 associated with the current user, then match them in the 'L-grade.' Afterward, look up the 'Class of 20XX Fundraising Items' to find the 'L-grade' and display the corresponding grade level based on the matched user.

Screenshot 2023-12-13 at 8.18.45 PM.png

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @dylandavis09 

    Can you try to use this code :

    LookUp('Class of 20XX Fundraising Items', 'L-Grade'.Value = 
    LookUp(
    'Class of 20XX (Officers)' , ('Head Sponsor'=User().FullName || 'Sponsor 1' = User().FullName || 'Sponsor 2'=User().FullName)
    ).'L-Grade'.Value)

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    442 on at

    Which one, we supposed to be in property? I just added in Defaults.

     

    Screenshot 2023-12-13 at 9.15.13 PM.png

     

    My name is already in the list and linked with L-Grade: (see below)

    Screenshot 2023-12-13 at 9.16.40 PM.png

  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @dylandavis09 

    Dose the control is a Combo box Control?

    If this , you can put it in the DefaultSelectedItems :

     

    LookUp('Class of 20XX Fundraising Items', 'L-Grade'.Value = 
    LookUp(
    'Class of 20XX (Officers)' , ('Head Sponsor'=User().FullName || 'Sponsor 1' = User().FullName || 'Sponsor 2'=User().FullName)
    ).'L-Grade'.Value).'L-Grade'

     

     

    If the Control is a DropDown , you need put this code in the "Default" property:

    LookUp('Class of 20XX Fundraising Items', 'L-Grade'.Value = 
    LookUp(
    'Class of 20XX (Officers)' , ('Head Sponsor'=User().FullName || 'Sponsor 1' = User().FullName || 'Sponsor 2'=User().FullName)
    ).'L-Grade'.Value).'L-Grade'.Value

     

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    442 on at

    Success! I put in theDefaultSelectedItems. It's worked.

  • dylandavis09 Profile Picture
    442 on at

    @v-yueyun-msft Few minutes, now it's not show anymore. 😞

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

    Hi , @dylandavis09 

    What is your Form Mode in your side ?

    You can try to use the NewForm(FormName) in your Button-OnSelect to test?

     

    Best Regards,

    Yueyun Zhang

  • dylandavis09 Profile Picture
    442 on at

    I just found it out and fixed, and worked again. I have same the datasource is 'Class of 20XX Officers' instead of 'Class of 20XX Fundraising Items'. 🙂

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
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard