What a simple table that pulls information from YAML looks like:
```dataview
table date as "Date", Вес as "Weight (kg)"
from "2. Areas/Занятие спортом/Динамика веса"
where Вес and date
sort date asc ```
→ from “2. Areas/Занятие спортом/Динамика веса” — replace with your own path where your notes with YAML are stored → Move the last three apostrophe characters to a new line
🧠 An explanation for those who want to understand this code more deeply:
table date as "Date", Вес as "Weight (kg)"
-
table— we’re creating a table, not a list or a gallery. -
date as "Date"— we take the value of thedatefield from YAML and display it in a column called “Date”. This is handy for chronology. -
Вес as "Weight (kg)"— we take the value of theВес(Weight) field and display it under the heading “Weight (kg)” — what you enter by hand or automate via a template.
from "2. Areas/Занятие спортом/Динамика веса"
-
This line tells the Dataview plugin where to look for files.
-
In this case, it looks through all the notes inside the
"2. Areas/Doing sport/Weight dynamics"folder. -
This is the logic of the PARA system, where you keep the active areas of your life — in your case, sport and health.
where Вес and date
-
A filter. It excludes notes that don’t have a value for
Весordate. -
This helps avoid displaying empty or incomplete entries that could break the sorting or visualisation logic.
sort date asc
-
Sorting by date, ascending (from old entries to new ones).
-
This matters if you want to follow your weight progress over time — everything will be displayed like a diary or a chart.
