Dataview (Obsidian)

An overview of the Obsidian plugin Dataview from my perspective and experience.

thumbnail for Dataview (Obsidian)

Dataview is an Obsidian that I use heavily for fetching data from all of my files and rendering them as lists to make it easier to reflect on topics, interstitial journal or roll up tasks by project.

Get all pages containing a tag

//```dataviewjs
dv.list(dv.pages("#places").file.link)
//```

This will get all pages that contain the tag #people

Notes that were created on the current day

// ```dataviewjs
dv.header(2, `Notes made on the ${moment(new Date()).format("DD")} day`)
dv.list(dv.pages()
	.filter(page => 
		 moment(page.file.cday.ts).format("DD") === moment(new Date()).format("DD")).file.link)
// ```

This allows me to see all notes that were ever created in the same day's date (28th of any month, for example) so that I always see all of my notes in a month's time.

Was this page helpful?

Subscribe to my Newsletter

Every other week I publish the Curiously Crafted newsletter.

In it, I explore the intersection of curiosity and craft: the people who make stuff, what they make and the way they pursue the craft of making.

The curious logo of Chase Adams: glasses and a bow tie.stay curious.