In Mixed Metric, we have DRY WEIGHT in a format like 11 kg.
A calculated expression in report designer , like :
Replace([Dry Weight (Piping Component)], 'kg', '') will take care of removing the kg suffix
Next we for some reason have Units in mm, resulting in DRY WEIGHT for PIPE being multiplied with length in mm rather than meter.
To rectify this in report, only for EC Class Name = PIPE, we tried:
Iif([EC Class Name (Piping Component)] = 'PIPE', Replace([DRY WEIGHT (Piping Component)], 'kg', '') / 1000 , Replace([DRY WEIGHT (Piping Component)], 'kg', ''))
Sadly this does not seem to work correctly
Any help is much appreciated