I am not sure it is what you want, but I manage to do this by assigning the distinct count meassure to a range slider and assign a parameter to that slider....:)
I then created a calculated meassura that used the parameter.
BR
Fredrik
Missed SAS Innovate in Orlando?
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.