# DataviewJS Snippet Showcase

**URL:** <https://forum.obsidian.md/t/dataviewjs-snippet-showcase/17847>\
**Category:** Workflows & Templates\
**Tags:** dataview\
**Created:** [May 8, 2021, 8:02am UTC](https://forum.obsidian.md/t/dataviewjs-snippet-showcase/17847 "2021-05-08T08:02:55Z")\
**Posts on this page:** 1\
**Showing post:** 138

<div class="post-metadata">

**Author:** ![gbrlb](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/85e7bf/32.png) [@gbrlb](https://forum.obsidian.md/u/gbrlb)\
**Post date:** [February 23, 2022, 8:41pm UTC](https://forum.obsidian.md/t/dataviewjs-snippet-showcase/17847/138 "2022-02-23T20:41:25Z")

</div>

Hi,  
I have been working on my daily and weekly notes and I would like to share my snippets that I use for my daily and weekly review.

Although dataview dynamic table are great, I think a static tables are useful to review the notes that I worked every day. Furthermore, are useful to plan the next day or when I’m doing the weekly review, and also I found it useful to do a project inform.

First, I use dataviewjs to create a dynamic table for every day and then convert to a Markdown table using [Dataviewjs script for creating Markdown table](https://forum.obsidian.md/t/dataviewjs-script-for-creating-markdown-table/20056).

The script will show the table like this:

![image](https://forum.obsidian.md/uploads/default/original/3X/2/3/2307de73b18213f40887f44bbf042be7e383678b.png)

Or if you prefer a collapsible ad-note:

 ![image](https://forum.obsidian.md/uploads/default/original/3X/d/1/d1de930c12d2e3e937a87b6adac557c419ffe74b.png)

To create a static table, you can copy the result and paste wherever you want:

![image](https://forum.obsidian.md/uploads/default/original/3X/f/0/f08b83e32f6ffb881fc3c2ee232a545e3ccf0898.png)

Here are the code:

> <https://gist.github.com/gbrlb/388f49d4dc5679b159b068509037efef>

---

_[View the full topic](https://forum.obsidian.md/t/dataviewjs-snippet-showcase/17847)._
