masshunter reoprt builder IsQualifierResponseRatioNull issue

i run the expression about OutlierQualifierOutOfLimits.

but i find QualifierResponseRatio show to empty could cause them problems

do you have any way can fix the problem.

 

import System
import clr
clr.AddReference("System.Drawing")
import System.Drawing

if BoundItems["QualifierPeak"].IsOutlierQualifierOutOfLimitsNull():
TemplateItems["Cell"].BackgroundColor = System.Drawing.Color.White
else:
if BoundItems["QualifierPeak"].OutlierQualifierOutOfLimits=="High":
TemplateItems["Cell"].BackgroundColor = System.Drawing.Color.Red
if BoundItems["QualifierPeak"].OutlierQualifierOutOfLimits=="Low":
TemplateItems["Cell"].BackgroundColor = System.Drawing.Color.DeepSkyBlue

"" if BoundItems["QualifierPeak"].IsQualifierResponseRatioNull() else BoundItems["QualifierPeak"].QualifierResponseRatio

Was this helpful?