I have a Sales fact table and I want to calculate a ratio, but only against facts that meet a criteria. I have a products that are sold by the gallon and others that are sold in other forms ( boxes, by weight, by count, etc).
Any ideas on how to get started, or could someone point me in the right direction? Thanks