Custom Filtering to allow users to filter for specific zip codes
Hi DRay and friends,
I am trying to allow my users to filter for multiple different zip codes, and specific zip codes to their use cases. Right now in Sisense a user would have to search and click the ones they want, I know with custom code filtering then can give the codes they want to filter for. Is there any easier way, maybe BloX, where a user can search/filter for multiple zip codes without looking them up/without using the custom code filter option?
example:
{
"explicit": true,
"multiSelection": true,
"members": [
33825,
34420,
33834,
33525,
34432,
32134,
33843,
34690,
34691,
33852,
33810,
34638,
34639,
33549,
33559,
33558,
34652,
34470,
34471,
34472,
34473,
34474,
34475,
34476,
34479,
34480,
34481,
34482,
33556,
32179,
34683,
34684,
33576,
33870,
33872,
33875,
33584,
34488,
34491,
33604,
33605,
33610,
33612,
33613,
33614,
33617,
33618,
33619,
33624,
33625,
33637,
33647,
33603,
33607,
33609,
33615,
33626,
33634,
33635,
34689,
33592,
33873,
33543,
33545,
33544,
33540,
33541,
33542,
33823,
33827,
33830,
34714,
33523,
33837,
33896,
33897,
33838,
33839,
33841,
33844,
33847,
33855,
33849,
34759,
33850,
33851,
33853,
33859,
33898,
33801,
33803,
33805,
33809,
33811,
33812,
33813,
33815,
33854,
33860,
33856,
33868,
33867,
33877,
34787,
33880,
33881,
33884
]
}
Rafael Ferreira
OP1 year agoFor anyone interested we would be happy to walk through our solution, please contact me at rferreira@cestrategy.us
DRay
·1 year agoSounds like it might be a good post for the Use Case Gallery!
Rafael Ferreira
OP1 year agoI actually created a solution, thanks DRay
DRay
·1 year agoThank you for the update. Would you be willing to share your solution? I think others would be interested in seeing how you solved this.
DRay
·1 year agoHi Astroraf ,
I’m following up to see if the solution offered by Vicki786 worked for you.
If so, please click the 'Accept as Solution' button on their post. That way others with the same questions can find the answer. If not, please let us know so that we can continue to help.
Thank you.
Vicki786
·1 year agoHi Astroraf ,
please try the following code. I put something together per your requirement as an example:
The JSON body is as follows:
There are two Actions for this Blox Dashboard as well:
echoZip is for testing the code:
and applyZipFilter to take the action:
How to test this script:
1) type zip code example: 90001, 90002,
2) click Debug: Echo (you should see the value),
3) then Apply ZIP Filter (pill should appear),
4) and Clear (pill removed).
DRay
·1 year agoHi Astroraf,
Thank you for reaching out. I see your question hasn't gotten a response yet, so I'm asking internally to try and get you an answer.
Vicki786
·1 year agoPlease see above solution