Of the 4 variables in your circuit $V$, $I$, $R$, and $P$, only two are independent. That is, if you pick two, say voltage and power, the other two can be calculated from those two.
If you pick that the voltage is 100 V, and the power is 50 W, then the current is necessarily 0.5 A, (50 W / 100 V) and the resistance is therefore necessarily 200 $\Omega$ (100 V / 0.5 A).
If you pick that the voltage is 100 V, and the resistance is 5 $\Omega$, then the current is necessarily 20 A (100 V / 5 $\Omega$), and the power is then necessarily 2000 W (100 V x 20 A).
You cannot pick that the voltage is 100 V, the power 50 W and the resistance 5 $\Omega$, because you have picked three variables, of which only two are independent, and you have picked three values that are not consistent with one another.