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 Apps
Answered

Lookup Result

(0) ShareShare
ReportReport
Posted on by 213

Hi All,

 

My lookup works fine but the problem is it refresh every time we open the form. My lookup value is picking up value from other view.

I wanted to make it one time lookup (when submit ) and the value should remain unless there is changes on the category before the document workflow is complete.

 

Now it show blank if the status is not match means it not save the lookup value when submit.

 

dropdown.JPG

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,117 Most Valuable Professional on at

    Hi @NurNida ,

    What I think you are asking is that this value is for new records or when the field is blank, otherwise, show the present value?

    If so, try

    If(
     IsBlank(DataCardValue12.Text) || 
     DataCardValuel2.Text="Submitted", 
     LookUp(
     'RFQ Request Category',
     Titles,
     DataCardVaLue4.Selected.Value, 
     CategoryPIC
     ), 
     Parent.Default
    )

    Bear in mind I cannot see your data or control type/values so if this is not what you are asking, please describe your process in more detail.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @NurNida ,

    Do you want the LookUp formula to be executed once time when you submit your form data?

     

    Based on the needs that you mentioned, I think it is not necessary to display the LookUp result within the Category PIC Text Box, instead, you could configure Category PIC field as hidden field within your Edit form.

     

    I agree with @WarrenBelz 's thought almost, you just need to bind the Update property of the Category PIC field data card to the LookUp result that you mentioned.

    Set the Update property of Category PIC field data card in your Edit form to following:

    If(
     SharePointForm1.Mode = FormMode.New,
     If(
     IsBlank(DataCardValue12.Text) || DataCardValue12.Text = "Submitted",
     LookUp('RFQ Request Category', Title = DataCardValue4.Selected.Value, CategoryPIC),
     DataCardValue33.Text
     ),
     Parent.Default
    )

     

    Best regards,

  • NurNida Profile Picture
    213 on at

    Got it.. Thank You. 🙂

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard