Curiously Chase

Dataview (Obsidian)

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

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.

Share on Twitter