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.

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.

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