I do not know which program you used to generate the output in the screenshot, but assuming it outputs the ordinary figures such as for example Activity Monitor or top would do - the reason for the seemingly erraneous swap usage is simply one of time.
Imagine that a process on your Mac allocates 12 GB of RAM. The system hasn't got 12 GB of free RAM, so it moves something to swap and gives the process its 12 GB of RAM.
A bit later, the process frees the 12 GB of RAM (i.e. deallocate them). The system now has a lot of free RAM, but is still using a lot of swap space.
You could argue that the system should move everything from swap into RAM, but doing so is slow and "expensive" in terms of system resources. The system cannot know if you would need the stuff that is in swap first, or you rather want to have free RAM for something else. Therefore it generally opts to keep stuff in swap, and only move it into RAM as necessary.
The solution for your problem is to monitor continually over a period of time (for example from boot) to figure out, which process is actually using a lot of RAM for a limited amount of time.