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 / Simple formula using l...
Power Apps
Answered

Simple formula using lookup values in a customized form

(0) ShareShare
ReportReport
Posted on by 27

Hi,

 

I am new with using power apps and SharePoint. Please help.

I created a customized form using power apps with SharePoint list as my data source.

 

I have this lookup column that I want to use to update another single line text column using a simple formula.

 

RMSV_0-1661859180346.png

I'm trying to make this simple formula work for my Calendar View column default property:

 

If(
DataCardValue15.Selected.Value <> "N/A",
DataCardValue8.Selected.Value & " " & DataCardValue2.Selected.Value & " " & DataCardValue6.Selected.Value & " " & DataCardValue3.Selected.Value & " " & DataCardValue15.Selected.Value,
If(
DataCardValue15.Selected.Value = "N/A" && DataCardValue11.Selected.Value = "All Day",
DataCardValue8.Selected.Value & " " & DataCardValue10.Selected.Value & " " & DataCardValue12. Text,
DataCardValue8.Selected.Value & " " & DataCardValue11.Selected.Value & " " & DataCardValue10.Selected.Value & " " & DataCardValue12.Text
)
)

 

I don't get any errors on the formula, however, the values for these lookup columns are not showing

RMSV_1-1661859341717.png

 

 

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @RMSV ,

     

    This additional LookUp columns will not have values until the LookUp column values is seleted in the App and the Form is submitted successfully. On the new form, if you would like to get corresponding values in the LookUp list after the LookUp column combo box item being selected, please add the Project listing list as another Data source and find the values based on the LookUp ID, Plant for example:

    LookUp('Projects Listing', 'Job No' = JobNoDataCardValue.Selected.Value, Plant)

     

    Furthermore, you can use Custom Cards to include one Combo box, set DefaultSelectedItems property the same as above formula, and then in a Text input box you will be able to reference these auto selected values after Job No value is selected.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard