As the screenshot below shows: the data defined position of the text field is working, but that of the table doesn't. Can anyone confirm this behavior?

enter image description here

  • It certainly looks like it should work. Dum question, but your 'box_pos' field is definitely 'right'? as it appears the expression is fulfilling the ELSE clause. Nov 17 '16 at 9:17
  • The table has the same expression as the text field. The text field is working.
    – MAP
    Nov 17 '16 at 9:33
  • How do you get a field for an attribute table, an HTML frame or a text box for that matter?
    – Victor
    Nov 17 '16 at 10:27
  • 1
    Perhaps a bug? When you type in your expression, there is a Fields and Values category just below Date and Time in your image. Does it recognise any fields at all? Mine does not which means you cannot create expressions using fields. Tested on QGIS 2.18.0 and 2.16.1.
    – Joseph
    Nov 17 '16 at 10:33
  • 1
    Yes, it does, all fields are recognized.
    – MAP
    Nov 17 '16 at 11:54

I replicated this in QGIS 2.14.4 Essen. It seems to act the way you describe until you Generate an Atlas. Up until that moment the expression always returned false, probably because it didn't recognize the columns in the layer. Once i generated an atlas the attribute table "jumped" from 10mm to 200mm. When i then checked the position options it recocgnized the columns and the values correctly.

  • I can confirm that. In QGIS Essen the data defined positioning in 'Atlas-Mode' seems to be working as it should. So it's worth to place a bug report...
    – MAP
    Nov 24 '16 at 6:49
  • Placed a Bug report: hub.qgis.org/issues/16064#change-74118 and still need a solution...
    – MAP
    Jan 30 '17 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.