Table / List from specific bullet point list #2267
-
In my daily journals I have a bullet point list like the following
In my weekly template I would like to have a table/list displayed nicely that would show all code reviews completed that week, is there a way to isolate the code review list from other lists in my document? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
You're not giving a whole lot of information related to the naming of your daily notes, and how you intend to pull out the daily notes related to the current week, so I'm assuming you know how to do that. If you then in your query do something like |
Beta Was this translation helpful? Give feedback.
-
@holroy thanks for the response, sorry for my delay I have been sick for the last 4 days. I have attempted to do what you have suggested and there are a few questions I have.
I guess I should provide a bit of a back story on what I currently have and what I am trying to accomplish, sorry that I did not originally do that. In my daily template I have the something like the following
In my Weekly template I would like to have the exact same thing but rather than it being something I type into the template for my entry I would like for it to query all daily files for that week and generate the list of code reviews completed that week. I have tried the following, but I receive the following error
Not to convolute this with another question but I was thinking about my monthly/annual templates may just provide a count of code reviews completed. Is there a way to not only get all links for the weekly and then in my monthly get a count of how many bullet points were under code review? My apologies if I am not clear on something I am still getting the hang of Obsidian and templates. |
Beta Was this translation helpful? Give feedback.
-
You're close, but the
Regarding the other request on counting, you'd need to do something similar, and then add a
If I didn't make any stupid mistakes that query should go through all of your dailies, extracting only list items under the "Code Reviews" heading, and then group them by the month, and count how many there were in each month. |
Beta Was this translation helpful? Give feedback.
-
@holroy First I want to thank you for your time on this, I truly appreciate it and if I am not providing any details you may need to better assist me please do let me know. Interestingly enough I just generated my weekly note based on the query above for the Code Reviews and nothing was returned for data. I am not quite sure why as I have other queries using this format just fine, at-first I thought my substring indexes may have been off but then I checked my Completed Tasks Query. Completed Tasks
When I do it for the Code Reviews, I even tried Meetings it just returns no data in the view. Just so you can see, this is what the contents are in my Weekly Template
This is what the data looks like in one of my daily notes
This is what is put into my weekly note when generated |
Beta Was this translation helpful? Give feedback.
-
@holroy I know this area is for the data-view plugin but I have a question you may be able to answer. Can you tell me what I need to research or where I can ask such a question to find the answer? In my monthly template I would love to be able to do something like this.
I know I can do the counting and grouping like you stated above but that outputs in a data-view table like this
If you are aware of any way to do this please direct me to the appropriate place to find my answers. I have tried managed to get this to work but man it is a bit complex in the result structure lol.
I am however unable to get the same thing to work for weekly using
|
Beta Was this translation helpful? Give feedback.
My bad, I was a little quick on the trigger there, and forgot to do
meta(...).subpath
, so try this variant:Bonus tip: How to present code properly in a post
If you want to showcase either markdown, or code blocks, or dataview queries properly in a post, be sure to add one line before and one life after what you want to present with four backticks,
````
. This will ensure that any other backticks (like in cod…