
Hey,
I'm pretty new to custom javascriptcode. I'm looking for a function to get all the unique attribute values of my filtered entitylist. Not only what is shown on the current page of my view, but on all of them.
I want to filter my complete entitylist based on a dropdown-field1. And the remaining/filtered unique values of the attribute field2, should be returned to enter them as possible values for my next filter(dropdown-field2). I guess my list will need to be updated when each dropdown gets filled in, so the new unique values can be retrieved correctly.
Does someone know how this can be achieved?
Kind regards
Hi, via JavaScript you can only access the records on the first page, so I don't think it would be easy to filter that way.
Have you looked into the OOB filters for list, this might be something you can achieve using that functionality:
List filter configuration - Power Apps | Microsoft Learn