I have an inspection table that shows the serial number, the inspection (Characteristic), and the test result (TestValue). In the sample table, I show five inspections for each serial number, but for a set of inspections I need to find the one that has the lowest value. I actually need the absolute value of 90 minus the TESTVALUE and identify the lowest decimal result. I did not include that calculation in my sample table. I have tried several different methods, but they have ultimately failed due to the fact that they do not take into account multiple criteria but only needing this calculation on a specific set.
This data goes into a report and I tried doing this in Report Builder and did not fair any better.
TABLE: Inspections COLUMNS: Serial, Characteristic, TestValue

