<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Andrew,</p>
<p>Try something like</p>
eval(<br>
array_to_string(<br>
array_filter(<br>
map_akeys(attributes()),<br>
right(@element, 5) = '_blah') <br>
)<br>
)
<p>You may want to read the help of each involved function to better
understand how things work here.</p>
<p>HTH,</p>
<p>Harrissou<br>
</p>
<div class="moz-cite-prefix">Le 21/07/2021 à 02:36, Andrew Hughes a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAMvYC1UWV8UnbJ15ykX1WYatr7C390LTvD0wL71qusvdncd74Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>Any help would be much appreciated, sorry for just
throwing this out there... QGIS is very new to me.</div>
<div><br>
</div>
<div>I have lots of tables that I would like to apply common
symbology and best I explain with an example:</div>
<div><br>
</div>
<div>table_a.foo_blah</div>
<div>table_b.boo_blah<br>
</div>
<div>table_c.whatever_blah<br>
</div>
<div>table_d.i_cant_believe_its_not_butter_blah<br>
</div>
<div><br>
</div>
<div>Q: What would the expression be to find the field ending
with "_blah" and use/return that fields value (as the
symbology's categorical value)? I will never know what the
field is called, just that it always ends in _blah.</div>
<div><br>
</div>
<div>Big thanks in advance,</div>
<div>Andrew</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>