SSRS Report enable/disable Parameter in X++

Hi,

I have 2 parameters on my SSRS report which I need to be able to dynamically enable/disable through code.

Is this somehow possible?