<html><head></head><body>I guess I don't fully understand your problem. Is this a labeling issue or a postgres issue?<br>
<br>
Also, labels can be the output of an expression. I don't know if that's what you mean as you're also talking about aggregate functions.<br>
<br>
Can you more clearly define your problem?<br>
<br>
Jim<br><br><div class="gmail_quote">On December 9, 2015 1:08:47 AM EST, Matt Boyd <mattslists@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi QGISers.<div>I'm trying to work out how to display some geological data on map.</div><div>Basically </div><div>Table x; </div><div>location1 | zone1 | date1 | value1</div><div>location1 | zone1 | date2 | value2</div><div>continued with variations in location/zone etc..</div><div><br /></div><div>spatial table </div><div>geometry Column | location1</div><div><br /></div><div><br /></div><div>I create a view in postgresql using the location as the common column. However, when I try to display my data, zone2 is shown with value1 and I can't work out how to get 2 values and 2 zones to display at a time.</div><div><br /></div><div>All the data is there and shown correctly in the combined attributes table, however labels don't show correctly.</div><div><br /></div><div>Ideally I'd like to be able to create labels and views from within qgis using functions (eg, for all zones in location1, what is the sum of the values).</div><div><br
/></div><div>I've only been at this a couple of hours this afternoon but thought I'd check here in case there's a simpler solution than the one I'm heading towards.</div><div><br /></div><div>Thanks</div><div>Matt</div><div><br /></div><div><br /></div></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Qgis-user mailing list<br />Qgis-user@lists.osgeo.org<br />List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>