https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-10-01T08:10:00ZQGIS Issue TrackingQGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=452382013-10-01T08:10:00ZFilipe Dias
<ul></ul><p>If there's an alternative way of doing this, it could help answer this question:</p>
<p><a class="external" href="http://gis.stackexchange.com/questions/72569/field-calculator-in-qgis-modeler-sextante/73054#73054">http://gis.stackexchange.com/questions/72569/field-calculator-in-qgis-modeler-sextante/73054#73054</a></p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=559192014-10-04T10:16:27ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Project</strong> changed from <i>78</i> to <i>QGIS Application</i></li><li><strong>Category</strong> deleted (<del><i>64</i></del>)</li></ul> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=559472014-10-04T10:17:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Processing/Modeller</i></li></ul> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=745092017-02-09T10:25:01ZAlexander Bruy
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in master.</p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=861412018-01-24T19:13:57ZNorwin Roosenqgis@nroo.de
<ul></ul><p>How is this solved? I still cannot reference model inputs within the field calculator, afaics. (in 2.18.15)</p>
<p>I searched the commits around 2017-01-09, but didn't find anything:<br /><a class="external" href="https://github.com/qgis/QGIS/commits?after=cf35affedcb93f7ef560397b52fc932838cacb04+8500">https://github.com/qgis/QGIS/commits?after=cf35affedcb93f7ef560397b52fc932838cacb04+8500</a></p>
<p>Please reopen if there isn't any commit fixing this, as this is really a big use case for the modeler.</p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=926712018-09-09T15:32:00ZStefan Newlucknewluck77@gmail.com
<ul></ul><p>There are at least three other issues with the Field Calculator not accepting other input. This is not fixed.</p>
<p><a class="external" href="https://gis.stackexchange.com/questions/262831/how-to-introduce-table-field-parameter-into-field-calculator-formula-in-qgis">https://gis.stackexchange.com/questions/262831/how-to-introduce-table-field-parameter-into-field-calculator-formula-in-qgis</a><br /><a class="external" href="https://gis.stackexchange.com/questions/292075/referencing-another-layer-in-field-calculator-inside-graphical-modeler">https://gis.stackexchange.com/questions/292075/referencing-another-layer-in-field-calculator-inside-graphical-modeler</a><br /><a class="external" href="https://gis.stackexchange.com/questions/295323/vector-fields-as-input-variable-in-field-calculator">https://gis.stackexchange.com/questions/295323/vector-fields-as-input-variable-in-field-calculator</a></p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=926832018-09-10T09:13:08ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Description</strong> updated (<a href="/journals/diff/92683?detail_id=81402" title="View differences">diff</a>)</li></ul><blockquote>
<p><a class="external" href="https://gis.stackexchange.com/questions/295323/vector-fields-as-input-variable-in-field-calculator">https://gis.stackexchange.com/questions/295323/vector-fields-as-input-variable-in-field-calculator</a></p>
</blockquote>
<p>this definitely works here on qgis/master.</p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=928492018-09-14T19:39:34ZStefan Newlucknewluck77@gmail.com
<ul></ul><blockquote>
<p>this definitely works here on qgis/master.</p>
</blockquote>
<p>Could you provide an answer (ideally with screenshots) to the gisSE answer then? I'm curious to find out how to do it.</p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=928512018-09-14T20:11:41ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Stefan Newluck wrote:</p>
<blockquote><blockquote>
<p>this definitely works here on qgis/master.</p>
</blockquote>
<p>Could you provide an answer (ideally with screenshots) to the gisSE answer then? I'm curious to find out how to do it.</p>
</blockquote>
<p>I tried <strong>exactly</strong> as in the screenshot in that question on GIS_SE.</p> QGIS Application - Feature request #8743: Field calculator: allow "Formula" to receive a value from a "Number" parameterhttps://issues.qgis.org/issues/8743?journal_id=982562019-01-15T16:37:37ZChristoph Fink
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Stefan Newluck wrote:</p>
<blockquote><blockquote>
<p>this definitely works here on qgis/master.</p>
</blockquote>
<p>Could you provide an answer (ideally with screenshots) to the gisSE answer then? I'm curious to find out how to do it.</p>
</blockquote>
<p>I tried <strong>exactly</strong> as in the screenshot in that question on GIS_SE.</p>
</blockquote>
<p>Creating a custom script would work alright I assume (ignoring for the moment, that the code provided on GIS SE is for pre 3.0 QGIS). But is that what was considered to have “fixed” this issue? Were you able to make it work without a custom script? (I can’t)</p>
<p>(Judging from the number of GIS SE questions on this I would believe that a simpler solution would be very much sought after by many. In my opinion, the field calculator from the processing toolbox, in general, is not exactly the most user-friendly – it could use an expression builder, e.g.)</p>