Look at what guides the movement
A chest press machine guides the path of the handles. In a dumbbell bench press you control each hand separately. Both exercises target the chest, but the setup and the way you control the load differ.
Log each variation separately
If you use 30 kg on a machine and later press a pair of 12 kg dumbbells, save each exercise under its own name. Compare the machine session with the same machine and the dumbbell session with your previous dumbbell work.