Obsidian Dataview Examples

These Obsidian Dataview Examples are built for Obsidian users who want practical DQL patterns they can copy, paste, and adapt. Start with a TABLE, LIST, or TASK example, then adjust the folder, tag, field names, and sort rules for your vault.

This Obsidian Dataview Examples collection covers TABLE dashboards, LIST indexes, and TASK reviews, with practical patterns you can adapt to real vaults.

Open the visual Dataview query builder

How to use these Dataview query examples

Paste an example into an Obsidian note inside a dataview code block. If the result is empty, first confirm that the Dataview plugin is enabled, then check the folder path and field names. Most empty results come from a mismatch between the query and your frontmatter or inline fields.

TABLE examples

Query type: TABLE

Active project dashboard

Show active project notes, hide archived work, and sort the next commitment by due date.

Required fields: status, due

```dataview
TABLE file.link AS "Project", status, due
FROM "Projects"
WHERE status != "archived"
SORT due ASC
```

How to customize: Change Projects to your project folder and replace status or due with your own frontmatter fields.

Query type: TABLE

Content calendar

Track drafts, planned posts, videos, or newsletters that still need publishing.

Required fields: stage, publish, channel

```dataview
TABLE file.link AS "Content", stage, publish, channel
FROM "Content"
WHERE stage != "published"
SORT publish ASC
LIMIT 12
```

How to customize: Use stage values such as idea, draft, editing, scheduled, and published.

Query type: TABLE

Meeting notes that need follow-up

Find meeting notes where a follow-up field is not marked done.

Required fields: date, followup, project

```dataview
TABLE date, project, followup
FROM "Meetings"
WHERE followup != "done"
SORT date DESC
```

How to customize: If you use a boolean field, change the condition to followup = false.

Query type: TABLE

Book notes by reading status

Build a reading tracker from book notes and sort unfinished reading by status.

Required fields: author, status, rating

```dataview
TABLE author, status, rating
FROM "Reading"
WHERE status != "finished"
SORT status ASC
```

How to customize: Add started or finished date fields if your reading notes include them.

Query type: TABLE

Notes missing metadata

Find notes that still need a status field before they can appear in dashboards.

Required fields: status

```dataview
TABLE file.folder, file.mtime
FROM "Projects"
WHERE status = null
SORT file.mtime DESC
```

How to customize: Replace status with any required field you want to audit, such as owner, topic, or priority.

Query type: TABLE

High priority work

List important notes or projects where priority is 3 or higher.

Required fields: priority, due, status

```dataview
TABLE priority, due, status
FROM "Projects"
WHERE priority >= 3
SORT priority DESC
LIMIT 20
```

How to customize: Change the threshold if your vault uses 1-5, low-medium-high, or another priority scale.

LIST examples

Query type: LIST

Recently updated notes

Create a simple list of notes you edited recently.

Required fields: No custom fields required

```dataview
LIST file.link
FROM "Notes"
SORT file.mtime DESC
LIMIT 20
```

How to customize: Use a smaller folder source to avoid mixing every note in your vault.

Query type: LIST

Research notes tagged with a topic

List notes that belong to a research topic tag.

Required fields: Tags

```dataview
LIST file.link
FROM #research
SORT file.mtime DESC
```

How to customize: Replace #research with your own tag, such as #ai, #marketing, or #book.

Query type: LIST

Daily notes index

Show daily notes from a folder and keep the newest note first.

Required fields: No custom fields required

```dataview
LIST file.link
FROM "Daily"
SORT file.name DESC
LIMIT 30
```

How to customize: If your daily notes are named by date, file.name sorting usually works well.

Query type: LIST

Notes in a folder with a specific tag

Combine folder and tag logic by filtering tags after choosing a folder source.

Required fields: Tags

```dataview
LIST file.link
FROM "Notes"
WHERE contains(file.tags, "idea")
SORT file.mtime DESC
```

How to customize: Use the tag text without # inside contains when checking file.tags.

TASK examples

Query type: TASK

Open project tasks

Collect unfinished tasks from project notes and sort them by due date.

Required fields: completed, due

```dataview
TASK
FROM "Projects"
WHERE completed = false
SORT due ASC
```

How to customize: Dataview task queries can read task-level fields if you add inline metadata to tasks.

Query type: TASK

Habit tracking tasks

Review habit-related tasks from daily notes.

Required fields: Tags

```dataview
TASK
FROM "Daily"
WHERE contains(tags, "habit")
SORT file.path DESC
LIMIT 20
```

How to customize: Use a folder such as Daily, Journal, or Logs depending on where your habit notes live.

Query type: TASK

Overdue task review

Find unfinished tasks where the due date is before today.

Required fields: completed, due

```dataview
TASK
FROM "Projects"
WHERE completed = false AND due < date(today)
SORT due ASC
```

How to customize: If your due field is named deadline, replace due with deadline.

Query type: TASK

Meeting follow-up tasks

Collect open tasks from meeting notes for a weekly review.

Required fields: completed

```dataview
TASK
FROM "Meetings"
WHERE completed = false
SORT file.mtime DESC
```

How to customize: Use this when meeting action items are written as Markdown tasks inside meeting notes.

Dataview examples FAQ

Can I copy these examples directly into Obsidian?

Yes, every query is valid DQL. Paste it into a code block with `dataview` as the language.

How do I customize a query for my own vault?

Click Open in Builder on any example to adjust filters, FROM path, and columns for your vault.

What if a query returns no results?

Check that the folder path or tag in the FROM clause exists in your vault, field names match your frontmatter exactly, and the Dataview plugin is enabled.

Next steps