cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joroehr
Advocate I
Advocate I

ComboBox 6 SharePointList number comparison

Hi there,

 

i have two Combobox with just numbers in:

 

Items property MinDose: ["0,01","0,03","0,05"] 

Items property Max Dose: ["0,1","0,3","0,5","0,6","0,8","1,0","2,25"] 

 

In a SharePoint list i have similar rows min.dose and max.dose configured as numbers with two decimal places and the above values.

 

My filter function looks like:

Filter(list,'min. dose' >= MinSelector.Value && 'max. dose' <= MaxSelector.Value )

 

I would like to display the options within the selected range - but it is not working and gives the error message back that the name isnÄ't recognized.

 

Any ideas on how to setup the filter and input data in the right way?

 

Your support is much appreciated.

 

BR

 

Johannes

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @joroehr ,

 

 with Combo boxes, the selected value will be described as Combobox.Selected.Value (allow single selection). Besides, please do not name columns to include dots(.), as in Power Apps it may cause conflict. So please try below formula:

Filter(list,'min. dose' >= MinSelector.Selected.Value && 'max. dose' <= MaxSelector.Selected.Value )

 

If you would like to modify column names, please make it in list settings from the backend. Change columns' display name may not affect in Power Apps.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

 

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @joroehr ,

 

 with Combo boxes, the selected value will be described as Combobox.Selected.Value (allow single selection). Besides, please do not name columns to include dots(.), as in Power Apps it may cause conflict. So please try below formula:

Filter(list,'min. dose' >= MinSelector.Selected.Value && 'max. dose' <= MaxSelector.Selected.Value )

 

If you would like to modify column names, please make it in list settings from the backend. Change columns' display name may not affect in Power Apps.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

 

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,069)