For the purpose of calculating the tax under section 297D.08, a quantity of illegal cannabis or a controlled substance is measured by the weight of the substance whether pure or impure or dilute, or by dosage units when the substance is not sold by weight, in the tax obligor’s possession. A quantity of a controlled substance is dilute if it consists of a detectable quantity of pure controlled substance and any excipients or fillers.