cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KDesai6
Level: Powered On

Issue Loading Information Using LookUp

I have a form where I am loading data from a SharePoint list (load form saved progress). I am creating variables using the stored data in the SharePoint list and assigning the variables as default values in the fields. This is working well for comboboxes:

Set(TemplateSoldTo, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SoldTo)]); 

 

However, when I am trying to load into dateboxes or textboxes I get issues that look like the following:

ACTBabCV9quYh1

The code looks the same:

Set(TemplateShipPO, [LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO)]);
Set(TemplateSurgeryDate1, [LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1)]);

I am using 'Date/Time' set to only store date datatype for the Date field and 'Multiple Lines of Text' for the text field in the SharePoint list.

I am not sure how to get this to work; any help would be appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Issue Loading Information Using LookUp

Hi @KDesai6 

 

Can you update the expressions as:
 
Set(TemplateShipPO, LookUp(TEST_FormInProgress, UPN = UserID.Text, ShipPO));
Set(TemplateSurgeryDate1, LookUp(TEST_FormInProgress, UPN = UserID.Text, SurgeryDate1));
 
The issue here is, combobox supports table schema value but TextBox/DatePicker doesn't. Thats why you need to pass a  single value as the default values.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
KDesai6
Level: Powered On

Re: Issue Loading Information Using LookUp

@yashag2255 Thank you for your response, that fixed it!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 361 members 5,983 guests
Please welcome our newest community members: