HI @Rag23,
Do you want to filter Gallery based on User1 dropdown selected in form1 and clicking a button?
Could you please tell me if the field correcponding to the dropdown selection is a Choice type or Text type?
You have some category buttons as below, right?

If you have category buttons as below and you have a Choice field correcponding to the dropdown selection, please try the following steps:
1). set the OnSelect property of each A,B,C button represently as below:
Set(varCategory,Self.Text)
2). set the Gallery Items property as below:
Filter(DataSource, Category = varCategory&& SelectionField.Value=dropdown.Selected.Value)
If you have category buttons as below and you have a Text field correcponding to the dropdown selection, you just need to modify the step2 formula as below:
Filter(DataSource, Category = varCategory&& SelectionField=dropdown.Selected.SelectionField)
Note the paramter after the Selected depends on column name returned by the formula you set for the Items property of the dropdown control, if it returns Value, please refer to Value, if it returs a special column name, refer to the special column name