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

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
News & Announcements

Community Blog

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

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,874)