Hi All,
I my i have a Dropdown.
In that Dropdown i need to Filter All users Department.
Following steps i did for to get a Users Department.
1) i get a all users details from O365 group and store into a Collection.
2) from that collection i filtered all Users mail id and store into another collection.
3) Here only i got an error, icant get a User's Department

I am using this formula to get a Users department from a collection. here Userprofile(Department.mail) is a Name (Department).
But am getting error.
Is this Correct or wrong?
How to get Users Department alone and to link with Dropdown for filter data based on Department?
Thanks,
Dhinesh