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

Notifications

Announcements

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 438

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
    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
    438 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
    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
    438 on at

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

  • dylandavis09 Profile Picture
    438 on at

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

  • v-yueyun-msft Profile Picture
    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
    438 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard