Hi @saialkesh ,
Whether do you want to filter records based on selected location in the drop down or
filter records based on current user's location in usertable?
1)filter records based on selected location in the drop down
set the drop down's Items:
Distinct(usertable,'Location & Country')
set the gallery's Items:
Filter(usertable,'Location & Country'=DropDown1.Selected.Result)
Then set the display form/edit form's Item to Gallery1.Selected
You will only view/edit records based on the location that you select in the drop down.
2) filter records based on current user's location in usertable
In this situation, you do not need a drop down to select location.
You just need to filter based on current user's location.
set the gallery's Items:
Filter(usertable,'Location & Country'=LookUp(username,Email=User().Email,'Location & Country'))
Then set the display form/edit form's Item to Gallery1.Selected
You will only view/edit records based on the location that current user belongs to.
If the tablename, fields name are not same as yours, please replace them with yours.
Best regards,