I am working in PI System Explorer 2015r2. I am trying to find a way to pull the units from an attribute. I want to be able to use the units of one attribute in a formula of another attribute, such as, IF attribute1_units=kW, then attribute1*1000. Is there a function or operator that can accomplish this? I think it would be easier to accomplish in an analysis rather than a formula, but haven't been able to figure out a way. I appreciate any help or suggestions.