Pretty straightforward question. Sorry if this has been asked before. Is there a way to denote a table as an inline variable to dataview? I’ld like to take existing tables that a user has added to and use that as my data source to do some dataview operations on.
This is a small example of what i mean below. There is lots of information on how to write out tables and structure output of tables. Is there a way to do the opposite of reading in table data?
What I’m trying to do
# Daily Food
| Food | Calories |
| ----- | -------- |
| eggs | 300 |
| bread | 100 |
``dataviewjs
// how to select the table, get the row values, and then iterate through and sum up total calories in column 2
``