I am trying to filter an array by using the get filter function and reference a dynamic variable in the path as you can see below. Basically, if I manually enter a number as follows: [$$.month==2] it works perfectly. But if I enter a variable like this [$$.month==$var.current-month], current month being a variable containing an integer. I get an error that says it's not numeric.
How can I use the get filter by using values stored in variables instead of manually entering a value?
Here is a loom for more details: https://www.loom.com/share/1adf21ff54354fba87855df5717307d5?sid=2025eb2e-4456-4f05-a1de-80fc495758d2