summary::**A very powerful [[Obsidian]] plug-in**. Dataview makes [[Obsidian]] _way_ more useful, but it is a bit of a bolt-on in terms of feel. Its successor is being worked on by the same dude - [Datacore](https://github.com/blacksmithgu/datacore?tab=readme-ov-file). # Dataview Uses Note for gillespedia.com - these do not render correctly. That's a limitation of [[Obsidian]] Publish. ## Note Count This uses the [[JavaScript]] inline syntax. > [!success] Currently there's **`$=dv.pages().length`** notes ## Finding Tasks ```dataview TASK WHERE !fullyCompleted GROUP BY file.name ``` ## Finding Orphaned Pages Lists pages that have no outside links. ```dataview list from "" where length(file.inlinks) =0 and length(file.outlinks) = 0 ``` ## Based On A Property Lists all notes created this year, including the `created` field as a column. ```dataview TABLE created WHERE created.year = 2025 SORT created DESC ``` ## Finding Pages Edited Recently Lists the 5 most recently edited documents. ```dataview TABLE dateformat(file.mtime, "yyyy-MM-dd HH:mm") AS "Last modified" FROM "" SORT file.mtime DESC LIMIT 5 ``` ## Finding & Displaying Notes with Certain Fields Lists all notes with a `summary` field, either using dataview's in-line field syntax or the [[YAML]] [[Frontmatter]]. ```dataview TABLE summary WHERE summary ``` ## Tag Note Counts This Year A list of **tags** for _newly created notes_ this year. Shows what topics I've been interested in this year. ```dataview TABLE length(rows.file.name) as notes WHERE file.tags FLATTEN file.tags AS tag WHERE file.ctime.year = 2025 GROUP BY tag SORT notes DESC ``` ## Notes with Most Backlinks Lists the notes with the most backlinks, including the number of backlinks they have. ```dataview LIST length(file.inlinks) FROM !"sources" SORT length(file.inlinks) DESC LIMIT 20 ``` **** # More ## Source ## Related - [[Obsidian]] - [[Obsidian Niceties]]