apply 2 filters to the dynamic page

I need to filter the dynamic page in 2 ways, a first one that filters the data according to the user and the second one, which if selected the drop-down field, also filters them by category.
To do this I applied the filter in the dataset to filter the data based on the user who visits the page, then I wrote a filter to give the user the possibility to order the repeater as he wishes.
the user filter works, but when I select a different category then it reorders the data according to the category but the user filter is as if it disappeared showing me the data of all the filtered users.
This is not good because every user has to see his own, not those of others.
this is the category filter code, how can I tell him that you should only add to that of users and not replace it?
Thanks for help

function filterResults (cliente, category) {

var newfilter = wixData.filter();

newfilter = newfilter.eq('categoriaVideo',category);
$w('#dbAcquisti').setFilter(newfilter);
console.log(newfilter)

}
export function categorySelection_change(event) {

var allCategory;

if ($w('#iptCategorySelection').value !== 'all') {
allCategory = $w('#iptCategorySelection').value;
}
filterResults(allCategory)
}

@armaroominfo Every time you set a filter, that filter overrides any previous filter set. The solution would be to use an and condition so that you are handling both the user and category filter in one swipe.

ok, but do I have to filter them both ways in the code or can I keep the users filter directly in the dataset?

@armaroominfo When you say “users filter”, it’s not clear whether you are filtering on a dataset tied to the members collection or whether you have the member information in the collection tied to #dbAcquisti, where you are doing the category filter. The latter would be much easier to work with, needless to say.

@tony-brunsman i have users data in #dbAcquisti which includes the user name and the product purchased, instead the user data including the email, the number etc. are in #privateMembersData the native one of wix

so basically I should do both of these filtering in the #dbAcquisti database