How to find all indices of an associative array

In reply to raysalemi:

for some reason .unique, doesn’t seem to work in my original post. Not sure, what was the issue ?

Madhu