To preview correctly the value of that expression ($('Edit Fields')...) all the previous nodes in the workflow must be executed correctly. In fact, the data from previous nodes is passed through the workflow.
In your case, the first Postgres node should execute correctly and then the second one (Postgres 1) will be able to access the data correctly.
Thanks, am tried reading the writted csv one just in fron the other and it works, on my original workflow, for some reason the empresa_id the value is 1 a number but is taking as string on the if node it works when changed to number. Thanks for your time and efford to helping me.