cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KevHouston
Frequent Visitor

Update Choice field with Slider value

Hi, 

I started with a choice field for a Priority selection, with 1-4 as options. I thought a slider would be nicer, so created a rating field in SP list, changed it to a slider on the PowerApps modified SP list form, with the same 1-4 values.

I am struggling to update the choice field with the value selected on the slider. Ideally I want to hide the choice field from view, to be used in list post-submission.

The fields I have are;

KevHouston_1-1593072346464.png

Thanks in advance!



 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @KevHouston :

Please set the Request Priority_DataCard2's Update property instead of Rating silder _DataCard2's Update property.

Rating silder _DataCard2 updates the Rating silder field, and this field is of numeric type. You cannot use a record to update this field.

Best Regards,

Bof

View solution in original post

4 REPLIES 4
KevHouston
Frequent Visitor

Hi - I was being blind to the fact I can simpy use the rating field, removing the need for the choice field. Sorted!

v-bofeng-msft
Community Support
Community Support

Hi @KevHouston :
Do you want to update a Choices field in SPlist with the value of a Slider?

This can be achieved by changing the UpDate property of the data card,I've made a test for your reference:

Set the Request Priority_DataCard2's Update property to:

 

LookUp(Choices(yourdatasource.'Request Priority'),Value=Text(DataCareValue21.Value))

 

1.JPG2.JPG

Best Regards,

Bof

Hi @v-bofeng-msft Bof, 


Thanks very much for the response.

I has since deleted the SP list choice field, so recreated a further field 'RequestedPriority' and added it to the screen below the slider.

 

Following your Update approach, the formula complains about expecting a number, although the value results shown appear to be correct, with 4 in the screen capture below.

 

Can you see where I am going wrong? Appreciate your support.

KevHouston_0-1593178317670.pngKevHouston_1-1593178346921.png

 

Hi @KevHouston :

Please set the Request Priority_DataCard2's Update property instead of Rating silder _DataCard2's Update property.

Rating silder _DataCard2 updates the Rating silder field, and this field is of numeric type. You cannot use a record to update this field.

Best Regards,

Bof

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (74,090)