Hi everyone,
I'm new to Report Builder and I'm getting to grips with using expressions.
I would like all compounds in my MassHunter Quant method to appear in a table in my report, but the first cell of the row to be coloured green if the compound is above it's respective LoD, and the cell to be coloured red if below the LoD.
I spotted the cell formatting in the report template 'ScreeningGC_Summary' where cells are coloured depending on their status, so I'm hoping I can use this in a similar way. If not, a simple 'Yes' or 'No' would also work.
I've seen in the template 'Gen_Samples_AboveLOQ' that the following expression is used to report values above LoQ:
"ND" if BoundItems["TargetCompound"] is None or BoundItems["TargetCompound"].IsLimitOfQuantitationNull() else BoundItems["TargetCompound"].LimitOfQuantitation
It is my understanding that I can substitute the word Quantitation for Detection in the expression to get LoD, but it isn't the value itself that I want to show here.
Any pointers would be appreciated.