Dataview to show content under a H2 (Paragraphs or bullet points).
Hello very one, thank you for your attention and help.
I want to see in a “compilation” note different sections of my daily notes, i.e.
What kind of exercise I did (only as example).
In that case I use dataview and it worked great:
TABLE WITHOUT ID
dateformat(file.day,"dd/MM") AS "Fecha",
Ejercicio AS "🏃🏻♀️➡️ **Ejercicio**"
FROM #dailyNote and "00 - Objetivos/2024"
SORT file.name desc
WHERE Ejercicio
The problem started when I wanted to compilate the bullet points / paragraphs that I have under a certain chapter.
Things I have tried:
I have to say that I am not an IT, even if I am learning a lot now. I have look into blogs, here, chatGPT… and I have not find the answer.
Test 1:
TABLE WITHOUT ID
dateformat(file.day,"yyyyMMdd") AS "Fecha",
file.lists.section AS "Notas L"
FROM #dailyNote and "00 - Objetivos/2024"
SORT file.name desc
WHERE contains(file.lists.section, "Notas L")
Test 2 - several test in one - **The idea was to “link” the note in the data base using ![[linkToTheDesiredHeader]] , but it didn’t work as the + was replaced with a > in most cases. I did more tests, but I only left some in the example.
TABLE WITHOUT ID
dateformat(file.day,"yyyyMMdd") AS "2024",
![[file.link^"Notas L"]],
![[file.name+"# Notas L"]],
![[file.link]]+#%20Notas%20L
FROM #dailyNote and "00 - Objetivos/2024"
SORT file.name desc
Test 3
In these case, my files have the week day in the name and I could not find the letters to represent it (i looked and tried a lot, with several languages)
LIST
dateformat(file.day,"yyyyMMdd XXXX#Notas L")
Test 4:
I also tried to
I got something writing manually:
![[20240512 monday#Notas L]]
But it was annoying because:
- I have to do it manually
- I always see the header, wichi I don’t care as is always the same.
Thanks you in advance!