The present invention relates to a dialysis machine, in particular a peritoneal dialysis machine, wherein a dialysis treatment, in particular a peritoneal dialysis treatment, can be carried out by means of the dialysis machine in accordance with predefined and/or inputtable treatment parameters and wherein the dialysis machine has at least one setting means by means of which at least one treatment parameter can be set dynamically and/or during the treatment operation of the dialysis machine. The present invention furthermore relates to a method of operating a dialysis machine.