For your case, you need to create a parameter for a slicer, you could just use what if parameter to get it.
Then use this parameter measure as a conditional as below:
Measure = SUMX(FILTER(VALUES('Table'[product id]),[Total values]>[Parameter Value]),[Total values])
If you still have problem, please share your sample pbix file and your expected output.
Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.