1

I have built a process in the graphical modeler which uses several temporary outputs. The resulting CSV is fine but it contains an unneccessary field from the HubDistance algorithm (HubName). I'd like to be able to drop this from the output, but Drop Field(s) does not seem to work. When I open the CSV of the output, the field "HubName" is still there. Am I doing something wrong here? My process looks like this:

Graphical modeler workflow

Drop Field(s) dialog

asked Dec 13, 2021 at 21:23
2
  • 1
    I noticed you are using the "Pre-calculated value" option under Fields to drop, and have your field name in single quotes. I realised that I was using "Value" option and that I need to remove the single quotes from my field name with this option. It seems both your method and mine work but not if they are mixed. Commented Dec 13, 2021 at 22:05
  • 1
    OK, added that as an answer Commented Dec 13, 2021 at 22:12

1 Answer 1

3

Set the input for Fields to drop to Pre-calculated value (the ε icon) and add the name of the field in single quotes ('). Like this, the field will be dropped, see screenshot for a simplified model:

Screenshot

answered Dec 13, 2021 at 22:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.