cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted

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
Highlighted
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!

Highlighted
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

Highlighted

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

 

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,341)