Create a parameter and add it as a slicer to take values for marks.
Create a measure.
Cut-off = IF(MARKS < [const],"#ff0000","#ffffff")
Now Add all students and marks on the sheet, go to conditional formatting, select background color and select field value as format and click ok.
Hope it helps.