I have configured an Atlas which is tied to a "ref_pln" column in a coverage layer. I also have a CSV layer with the columns "ref_pln", "attribute" and "value".
I'd like to pull the value of "value" for a specific value of an "attribute" in the CSV layer whenever its "ref_pln" matches the "ref_pln" currently being displayed in the Atlas.
Example:
- Atlas "ref_pln" is currently "003";
- The attribute I want to pull is "date";
- My CSV layer has the following records:
RECORDS:
ref_pln | attribute | value
002 | issue | yes
002 | solved | no
002 | date | 1500
003 | issue | yes
003 | solved | no
003 | date | 1250
I'd like to build an expression which displays "1250" (i.e. the value of "value" when the value of "attribute" is "date" and the value of "ref_pln" is "003" - i.e. the same as the Atlas).