[Qgis-user] Labels

Richard Greenwood richard.greenwood at gmail.com
Mon Aug 23 19:05:12 PDT 2021


Sure. Use the Expression builder. You get to it by press the ∑ button to
the righ of the value drop down list. Then enter the fields in double
quotes concatenated with +, for example:
   "Town" + "Date"
If you need a space or other text, enclose it in single quotes. For example:
   "Town" + ' Established: ' + "Date"
and a new line can be added with \n (backslash n):
   "Town" + '\nEstablished: ' + "Date"

On Mon, Aug 23, 2021 at 4:33 PM Pat Brown <mistyhaven at gmail.com> wrote:

> Is it possible to use two variables as labels? I have a table with town
> names and another column with dates established. I would like both the name
> and date as labels
>
> Thanks
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>


-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210823/301fa196/attachment.html>


More information about the Qgis-user mailing list