QGIS Value Relation – How to Remove Brackets in Value Relation in QGIS

qgisvaluerelation

When using Value relation fields and multiple selection QGIS adds {} brackets in the table. When exporting the data to be used in reports and the like these brackets are not desirable. Is there a way to remove them efficiently?

Best Answer

Create a new virtual field with this expression and replace fieldname with the name of the Value relation field:

regexp_replace ("fieldname",'{|}|"','')

enter image description here

Related Question