Dataview is not updating according to YAML - beginner

What I’m trying to do

→ I am trying to make a tracker for my Days in the form of a dataview Table. The daily note has the following YAML:

alias: XYZ
mood: 🟩
tags:
date: [[2023-06-04]]

The dataview has following line:

TABLE alias as Alias, mood as Mood
FROM "Journal/Daily Journal"

The dataview table is only showing the name of the file but the alias and the mood are empty. What can I do about it? It has been only a day since I started obsidian.

Things I have tried

  • tried searching this forum but didn’t even know what to search for
  • tried changing the queries etc. but didn’t work
1 Like

Does this work in a test file?

---
alias: XYZ
mood: 🟩
tags:
date: [[2023-06-04]]
---
```dataview
TABLE 
alias as Alias, 
mood as Mood
WHERE file.name = this.file.name
```

1 Like

oh I was using the “```” and not “—”.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.