Obsidian Dataview: Build your Vault as a Database

Esteban Thilliez
The Obsidianist
Published in
5 min readSep 10, 2022

--

Dataview is an Obsidian plugin you can use to transform your vault into a database you can query from.

Dataview Obsidian Illustration
A Dataview example

If you want to use Obsidian for more than just note taking, you’ll probably have to install some plugins. Indeed, some plugins can turn your vault into something very powerful. Dataview is one of these.

What is Dataview

Dataview is a plugin allowing you to transform your vault into a Database. It means you can treat your notes as if they were documents, and query them in a note.

For example, imagine you use daily notes. All these notes are stored somewhere, and there is no way to have an overview of all of them except through the file explorer, but it’s not really an overview, as you will just see the file names. If you track your habits in your daily notes, you can’t see them this way.

In this case, you can use Dataview. You just have to create a note called for example “Daily notes overview” and put in it a Dataview query. In the query, you tell Dataview the folder containing the daily notes, the metadata you want to see, if you want to see the files sorted, etc… and it will show you something like this:

How to use Dataview

Metadata

--

--

Esteban Thilliez
The Obsidianist

I’m Esteban, and I enjoy writing about programming, trading, productivity, knowledge management, books, etc! esteban-thilliez.com / contact@esteban-thilliez.com