Skip to main content
Tweeted twitter.com/StackGIS/status/1293608221429694464
added 428 characters in body; edited tags
Source Link
Ahmed Alaa
  • 313
  • 2
  • 8

I'm using QGIS 3.4 attribute form to edit the widget type. I'm trying to retrieve "cab_no." field values (only unique values) from 'U_Cabinet' layer to use it in "fdt#" field in the 'Distribution2' layer. as shown in the image below

enter image description here

I've been trying to retrieve unique values by using the expression builder in QGIS 3.4

I tried the expression array_distinct(array("cab_no."))

where "cab_no." is the field who has the values.

but there is completely no result. as shown in the image below.

enter image description here

Am I missing something here??

I've been trying to retrieve unique values by using the expression builder in QGIS 3.4

I tried the expression array_distinct(array("cab_no."))

where "cab_no." is the field who has the values.

but there is completely no result. Am I missing something here??

I'm using QGIS 3.4 attribute form to edit the widget type. I'm trying to retrieve "cab_no." field values (only unique values) from 'U_Cabinet' layer to use it in "fdt#" field in the 'Distribution2' layer. as shown in the image below

enter image description here

I've been trying to retrieve unique values by using the expression builder.

I tried the expression array_distinct(array("cab_no."))

where "cab_no." is the field who has the values.

but there is no result. as shown in the image below.

enter image description here

Am I missing something here??

Became Hot Network Question
edited title
Link
etrimaille
  • 7.4k
  • 36
  • 49

Getting Unique Valuesunique values in a QGIS Expression

Source Link
Ahmed Alaa
  • 313
  • 2
  • 8

Getting Unique Values

I've been trying to retrieve unique values by using the expression builder in QGIS 3.4

I tried the expression array_distinct(array("cab_no."))

where "cab_no." is the field who has the values.

but there is completely no result. Am I missing something here??