Re: [Qgis-user] calculating progressive value

2016-08-17 Thread Salvanet
thank you, it works fine! I didn't update the table and so I didn't see the right values in the y column -- View this message in context: http://osgeo-org.1560.x6.nabble.com/calculating-progressive-value-tp5280693p5281019.html Sent from the Quantum GIS - User mailing list archive at Nabble.co

Re: [Qgis-user] calculating progressive value

2016-08-16 Thread Micha Silver
What exactly did you enter into the query window? The word "table" should be the name of your points layer. On 08/17/2016 12:21 AM, Salvanet wrote: Hi Micha, I apply the query with spatial lite, but the result is "near "table": syntax error". Sorry, but this is the first time I use spatialite

Re: [Qgis-user] calculating progressive value

2016-08-16 Thread Salvanet
Hi Micha, I apply the query with spatial lite, but the result is "near "table": syntax error". Sorry, but this is the first time I use spatialite in QGS with DB manager, what am I doing wrong? thank you -- View this message in context: http://osgeo-org.1560.x6.nabble.com/calculating-progressi

Re: [Qgis-user] calculating progressive value

2016-08-15 Thread Micha Silver
Salvanet wrote > Hi, I have a Qgis layer with a table with twno columns X and Y. > The X column has a set of values​​, while in the Y column I have to enter, > using field calculator, for each record the progressive value. Eg : X > column values: a , b , c , d ; Y column values (to be calculated wi

Re: [Qgis-user] calculating progressive value

2016-08-15 Thread Salvanet
Hi Cristine, thank you for the answer, the problem is that X column values are variables -- View this message in context: http://osgeo-org.1560.x6.nabble.com/calculating-progressive-value-tp5280693p5280749.html Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___

Re: [Qgis-user] calculating progressive value

2016-08-14 Thread DelazJ
Hi, unless the number of combinations is known and limited, using case when function could become a nightmare. QGIS 2.16 provides aggregates functions ( http://qgis.org/fr/site/forusers/visualchangelog216/index.html#feature-aggregate-support-for-expressions) that I think would help to do this but

Re: [Qgis-user] calculating progressive value

2016-08-14 Thread Christine
Salvatore Oliveto wrote > Hi, I have a Qgis layer with a table with twno columns X and Y. > The X column has a set of values​​, while in the Y column I have to enter, > using field calculator, for each record the progressive value. Eg : X > column values: a , b , c , d ; Y column values (to be calc

[Qgis-user] calculating progressive value

2016-08-14 Thread Salvatore Oliveto
Hi, I have a Qgis layer with a table with twno columns X and Y. The X column has a set of values​​, while in the Y column I have to enter, using field calculator, for each record the progressive value. Eg : X column values: a , b , c , d ; Y column values (to be calculated with the field calculator