---
title: "How can I put a table within a survey?"
url: "https://openforis.support/questions/3423/how-can-i-put-a-table-within-a-survey"
tags: ["collect"]
status: "accepted"
score: 0
answer_count: 3
asked: "2022-07-28T09:25:24"
last_activity: "2022-08-01T10:24:47"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# How can I put a table within a survey?

Asked by Rajkumar on 2022-07-28

Hello OFT,
I am trying to develop a survey that will be used by foresters to estimate timber and firewood based on directive of authority. There is a table containing values that will be used to calculate different aspect of tree analysis. Now I want to use the table (like VLOOKUP in excel) but not figuring out where to put readymade table in the survey. How can I implement this on collect survey?


## Accepted answer (score 1, by Stefano (OF) on 2022-08-01)

Link: https://openforis.support/questions/3423/how-can-i-put-a-table-within-a-survey/3426

Dear user,  
You can create a new Species List (named "trees" for example) in the Species List tab of the Survey Designer, importing a CSV or Excel file with these (mandatory) columns: code, family, scientific\_name.   
All the other columns (use only lowercase letters and avoid special characters, e.g. a, b, c, a_1, a_2, etc) will be considered as "extra" info columns and you can retrieve that information with the expression: `idm:speciesListData('trees', 'a_1', 'AFZ/QUA')`  
The first parameter is the species list name, the 2nd is the "extra" column name, the 3rd one is the code of the species. If you want it to be extracted from the value of a taxon attribute, in the 3rd parameter you can specify the name of the taxon attribute, e.g. `idm:speciesListData('trees', 'a_1', taxon_attribute_name)`.  
I hope it is a bit more clear now.  
Many thanks.  
Open Foris Team


## Answer (score 0, by Stefano (OF) on 2022-07-28)

Link: https://openforis.support/questions/3423/how-can-i-put-a-table-within-a-survey/3424

Dear user,  
Can you associate that information to the species list? In that case you could add some "extra" value to every species and extract that information with the function `idm:speciesListData`, e.g.:  
`idm:speciesListData('trees', 'max_dbh', 'AFZ/QUA')`  
Let us know, many thanks.  
Open Foris Team


## Answer (score 0, by Rajkumar on 2022-07-30)

Link: https://openforis.support/questions/3423/how-can-i-put-a-table-within-a-survey/3425

Hi OFT,
Thank you very much for your response. I just want to put these information as shown in below table in any form but should be able to retrieve during calculation. Does collect give permission to put these numbers of column? if it is possible I will do rest of the task as you suggested in your previous answer. can I create such columns? Thank you very much. ![alt text][1] . 

  [1]: https://openforis.support/upfiles/sppTbl.png
