I need to do some simple calculations counting the percentage ranges of each project. It seems as if this should be a very simple straightforward query but my results (counts of percentages <10%, >50%, and >100% are coming back incorrect and I'm having trouble figuring out why. I'm working in db2 and here is a sample of my data.
My query that returns the incorrect results ("24") is:
SELECT
COUNT(*)
FROM Fact_Table
WHERE Dept_NAME = 'sales'
AND PERCENTAGE_USED > '100.00%'