Skip to main content
2 of 4
edited body
Naslar
  • 55
  • 1
  • 6

Retrieve value from another layer by field calculator

I have a problem ! Please read me carefully.

I have two vector layers, one point layer named "element_ep" and another layer line named "reseau_ep".

In the layer "element_ep" there is a field 'nu_affaire' which contains the business number of each entity.

So, I want to retrieve this business number (from the field calculator) by creating a 'nu_affaire' field in the 'reseau_ep' layer.

The Qgis #refFunctions # plugin is well suited for this operation, but I want to get the code expression to get there.

Could someone help me?

Cordially.

Here are the layers and attribute tables. enter image description here

Naslar
  • 55
  • 1
  • 6