Skip to main content
Aleksandr Shoronov
Telegram logo Mastodon logo

Data views in Obsidian

Plain text is an excellent and underrated thing. I'm using Obsidian to organize my thoughts and knowledge. And recently I've found an amazing community plugin that helps you to extract and display data from the frontmatter section of files in the table format.

For example, you have the folder "Companies" with files. Every file there has a frontmatter part with fields like salary, and region. On some other page inside your vault, you can create a file with the following content:

```dataview
table salary, perks
from "Companies"
where country = "Estonia"
```

And this block in the preview will be replaced with inlined data from the files which you choose in the query.