Basic Repeater Dropdown Filter for Numeric Variables

Hi all! I am fairly new to coding and was wondering if somebody could walk me through the basics of creating a dropdown filter for a numeric variable (years experience). Essentially, I preset the dropdown choices to be: “Any” corresponds to a value of 0 years, “1+” corresponds to a value of 1 year, etc.

I tried just using a “.ge” statement to basically filter all positions that require experience greater than or equal to the preset value in the dropdown menu. Below is the basic code I have been using:

import wixData from “wix-data”;

export function dropdowns_OnChange(event) {
$w(“#dataset1”).setFilter(wixData.filter()
.ge(‘years’,$w(‘#yearsdropdown’).value));
}

Any help would be greatly appreciated!