← All features

Canvas nodes

Split Unit

Separate a measurement into its numeric value and unit.

How it works

Select a field with numbers and units stored together, then name the two output columns. Keep the original column if you still need to show the source value.

Click Split Unit on Canvas, then change Number column in the inspector. WeightValue and WeightUnit hold the separated values.

Simple example

Connect a table with a Weight field such as 12 kg. Split Unit produces a numeric WeightValue and a separate WeightUnit so the number and label can be used independently.

Split Unit selected in n0is Canvas in the simple example.
n0is Canvas · Sample dataView full size

Input

3 rows
ParcelWeight
P112 kg
P24.5 kg
P38 lb

Node output

3 rows
ParcelWeightWeightValueWeightUnit
P112 kg12kg
P24.5 kg4.5kg
P38 lb8lb

Complex workflow

Split a mixed-unit shipment column into WeightValue and WeightUnit, then keep only the kg rows. Sum the values by Warehouse so the totals compare quantities expressed in the same unit.

Split Unit selected in n0is Canvas in the complex workflow.
n0is Canvas · Sample dataView full size

Input

5 rows
WarehouseWeight
North12 kg
North4.5 kg
North8 lb
South9 kg
South3 lb

Node output

5 rows
WarehouseWeightWeightValueWeightUnit
North12 kg12kg
North4.5 kg4.5kg
North8 lb8lb
South9 kg9kg
South3 lb3lb

Workflow result

2 rows
Warehousesum_WeightValue
North16.5
South9