An Introduction to Dataview - Part 1

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • This is an introduction to the Dataview plugin for Obsidian. We go over the basics of using YAML frontmatters for providing explicit metadata in your Obsidian notes; introduce the basic components of Dataview queries and show some advanced use cases. Finally, we construct and debug some queries live.
    This was the first live event with hopefully many more to come. You can request topics or even offer to host a talk or a workshop here: forum.obsidian.md/t/obsidian-...
    You can find more information on Obsidian here: www.obsidian.md/
    You can install the Dataview plugin through the Obsidian settings. To get involved in development or report feature requests or issues, check out the GitHub repo at github.com/blacksmithgu/obsid....
    Timestamps:
    0:00 Introduction
    4:05 Overview of the talk
    7:00 Metadata
    20:25 `List`
    21:22 `From`
    28:39 `Task`
    35:20 `Where`
    42:46 `Table`
    46:34 `Sort`
    48:15 `Flatten`
    49:17 `Group By`
    52:05 Neat Examples
    56:03 Q&A
    1:16:06 Info on Community Talks
  • Věda a technologie

Komentáře • 73

  • @smoocher
    @smoocher Před 2 lety +19

    I just finished watching this and was taking notes and doing my own examples while learning. This video was incredibly helpful and you did a great job explaining how the plugin works. Thank you!

  • @MonkeyDash2009
    @MonkeyDash2009 Před 3 lety +16

    Thank you for organizing this, and making the video available!

  • @benjaminsaubolle-camacho9558

    Thank you a bunch! This was INCREDIBLY helpful; it will definitely optimize my productivity in Obsidian.

  • @limewire504679
    @limewire504679 Před 2 lety +1

    Thank you very much for sharing your experience in handling the data view plugin functionality. This was very helpful for me!

  • @anarosaamorim3851
    @anarosaamorim3851 Před rokem +1

    I've watched Nicole van der Hoeven video about Dataview (great video, by the way) and just found out about this one. Great content. Thanks for posting. Dataview is a very powerful plugin and it really enhances Obsidian's utility.

  • @MK-un5qp
    @MK-un5qp Před 2 lety +1

    This is amazing! Thank you so much for sharing you knowledge with us.

  • @ServantStatusMinistries
    @ServantStatusMinistries Před 3 lety +4

    This….was….so….helpful!!!!! I’m so excited that I understand this!!!!! 🤓Thank you so much for these videos🥰

  • @seiryumiko
    @seiryumiko Před 2 lety +1

    This was very useful and clear! Thank you for sharing this

  • @AppCritic
    @AppCritic Před rokem

    Good work! Takes a while to watch, as I can repeat every step on my machine. Did learn a lot.

  • @arkdtk
    @arkdtk Před 2 lety +3

    Very glad I found this, it was very helpful

  • @BryanJenks
    @BryanJenks Před 3 lety +19

    FIRST! 🎉️

  • @papershark
    @papershark Před 2 lety

    Thank you so much for this... you guys ROCK!!

  • @Ericuf
    @Ericuf Před 3 lety +1

    Thank you so much for this!

  • @timconnors3386
    @timconnors3386 Před 3 lety +4

    This is a HUGE unlock, thanks for building it!

  • @masExz
    @masExz Před 2 lety

    Hi!
    Thanks for this great tutorial, I've been looking for this

  • @vrixphillips
    @vrixphillips Před 2 lety +1

    well this just made keeping my archives and MOCs tidy a lot easier lol

  • @tarunrao23
    @tarunrao23 Před 2 lety +1

    Thanks a lot for making the video. Clearly shows how powerful obsidian can become.
    I an curious about the plugins in you obsidian. There are a lot of them. Would love to know about them

  • @mhorohello
    @mhorohello Před 2 lety

    Thanks for the video!

  • @kamilszafraniak6676
    @kamilszafraniak6676 Před rokem

    Thanks for this!

  • @AkashAgrawal03
    @AkashAgrawal03 Před rokem

    It's always a good idea to use light background when sharing code snippets. The contrast between the background and commas or brackets is so little that I had to up the brightness to see them.
    I get you're trying to hide it to focus on data, it's just hard to read on my mobile screen.
    Thank you for making this video. Wasn't feeling like reaching documentation today.

  • @THESPORTINGCAMP
    @THESPORTINGCAMP Před 2 lety

    Excellent! 👏👏👏👏👏

  • @feliperlouro
    @feliperlouro Před 2 lety +2

    Hey thanks for the great video.
    One question: how did you make those yoga positions into a link on 53:27 in the dataviewer? I saw you wrote - - - and the file name but it doesn't seem to work for me.

  • @GranZhadu
    @GranZhadu Před 2 lety

    This is awesome.

  • @klausgestrich1107
    @klausgestrich1107 Před 2 lety +1

    Thanks for the great Introduction! - I was looking for that!
    Can you help me - When I enter a metadata block (the three dashes twice) it shows it in the preview - as soon as I enter Key - Value pairs in between - the metadata block disapears form the preview...

  • @santoshkaluskar3228
    @santoshkaluskar3228 Před 2 lety

    Hi, that was really helpful.
    Is there a way to: List/Table from all the files to display Outgoing links for which the New Page is not created yet.

  • @MichalSosin007
    @MichalSosin007 Před rokem

    Great stuff! Thanks!
    What if I want to list all notes that contain link to the current note?
    list
    from ""
    Where file.name.field = this.file.name
    ?
    What is missing here?

  • @user-xr4ze7fs8k
    @user-xr4ze7fs8k Před 2 lety

    Hello! Please tell me how you can use the plugin to make a list of H3 headings for the current note.

  • @xinyiren2954
    @xinyiren2954 Před 2 lety +3

    Thank you for the great walkthrough! Unrelated question, 1:11:03 does anyone know how to automatically insert a template by putting in a tag? I need this magic in my life >

  • @neponel
    @neponel Před 2 lety

    can data view plugin go through notes and count words, compare words? can data view go through notes and based on specific words and phrases select those words and backlink them to other prespecified notes?

  • @kharthigeyan
    @kharthigeyan Před 3 lety +1

    Wow wow wow 😳

  • @sdnnvs
    @sdnnvs Před 3 lety

    How do I filter only part of a string contained in the metadata? For example, I have an Author attribute: with the strings John A and John B. I need to list all authors that have the string "John", ie the expected result should be John A and John B.
    In:
    ```dataview
    List from Bibliography where Author = "John"
    ```
    Result 0. I tried to use the "contains" function also without success.
    Could someone help me please. I don't know programming.

  • @Free_ranker
    @Free_ranker Před 3 lety +4

    How did you guys make the slides look so nice? Also do you have any tips for better Slideshow presenting in Obsidian?

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety +4

      @SkepticMystic here :) I made the slides using [Reveal.js]( revealjs.com ) - an open source service which lets you make slideshows in Markdown! I have recently offered to give an Obsidian Talk on this, you can find the voting post here: forum.obsidian.md/t/obsidian-talks-which-talks-do-you-want-to-hear/15705

    • @Free_ranker
      @Free_ranker Před 3 lety +2

      @@obsidiancommunitytalks9199 Thanks, I already gave my vote on the poll!

  • @cosmicegg1882
    @cosmicegg1882 Před 2 lety

    How were you able to type ",d" and insert a dataview block at 43:00 is that a plugin?

  • @MariusGerome
    @MariusGerome Před rokem

    Is it possible to display certain images in the style of apple photos or google photos? Or maybe just like instagram… a bunch of squares, filled with photos with the tag: inspiration for example

  • @tomdeneckere
    @tomdeneckere Před rokem

    Can anyone help out? I don’t understand why, when I enter the ‘minimal query’
    ```dataview
    list
    ```
    I get a parsing error. If I add something to it, for instance
    ```dataview
    list from -“Help”
    ```
    the parsing error disappears (even though “Help” is a non-existing folder.

  • @abdallahbukhari4382
    @abdallahbukhari4382 Před 2 lety

    This is so exciting. If I were a dog, I'd be wagging my tail =).

  • @arkdtk
    @arkdtk Před 2 lety +3

    13:45 you say that it wasn't possible to use links in the YAML frontmatter, and that dataview has found a workaround. You never mentioned what it was, was it automatic? Because it does not work anymore.

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 2 lety +1

      Ahh I see, this doesn't work anymore.
      What you can do is use the `link` function to transform the field value into a link.
      ```
      Table link(field, field) as link
      where field
      ```

  • @stiljohny
    @stiljohny Před 2 lety

    excellent video, just subscribed!
    btw, what is the way you make these presentations ?

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 2 lety +2

      Thanks John! I use revealjs to make the slides. I spoke about this a little in the pandoc video. There is a workflow to write slideshows in markdown using Obsidian, then run pandoc to convert that md to a revealjs slideshow

  • @Ericuf
    @Ericuf Před 2 lety +1

    Is there any way for this query:
    In my daily note template, I want to have a Dataview query that will search incomplete tasks from other notes in that same folder EXCEPT for that current note.

  • @tummalatube
    @tummalatube Před 8 měsíci

    1) Is there a way to copy the result of a Dataview query from obsidian and paste it into Notepad/MS Word/Excel etc. Any plugin which can help us in doing this?
    2) If i have text in obsidian with formatting like [[ ]], bold etc.., how can i copy the text without formatting/[[]] and paste it into notepad/MS Word as plain text?
    Thanks in advance for your help.

  • @gorkensgork
    @gorkensgork Před 3 lety

    helpful video, thanks for sharing! btw.. what browser is that on the right and theme? :D

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety

      @SkepticMystic here. Haha thanks! I use the Vivaldi browser, specifically for their tab stack functionality :D and my Obsidian theme is gruvbox

  • @alfredoborras1860
    @alfredoborras1860 Před 2 lety

    thanks for this video, i wondered how to list notes be keywords??

  • @vaughnmonkey
    @vaughnmonkey Před 2 lety

    could I use a dataview query to do something like pulling any equations out of my notes? like I don't want all the notes with equations in them I want to see a list of the actual equations

    • @JohnUnderwood007
      @JohnUnderwood007 Před 2 lety +1

      Not sure about your direct question but a possible work around could be to use the Note Refactor plug in to pull your equations into their own note. This would leave a link to it in the original and you could then use YAML in the new refactored note. You could then have a standing third note with a Data View query which would pull those equations into a single reference list or table.

  • @luckers88
    @luckers88 Před 2 lety

    does anyone know how to make multi-word tags in Obsidian using YAML - I think I saw it mentioned in this video or another one recently. I know that generally this isn't possible, but I am certain I have seen it done with YAML. Please let me know!

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 2 lety

      Tags can't have spaces, so to have multiple words you'll need another approach.
      Using dashes `-`, underscores `_`, or CamelCasing works.
      #Long-Tag, #Long_Tag, #LongTag

  • @browsingcrunch6220
    @browsingcrunch6220 Před 3 lety

    How to get a numbered list in a Table view or a List view instead of a bullet list?

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety +1

      You can use this css snippet to number the rows of a dataview table:
      .table-view-table {
      counter-reset: section;
      }
      .table-view-table > tbody > tr > td:first-child::before {
      counter-increment: section;
      content: counter(section) ". ";
      }

    • @browsingcrunch6220
      @browsingcrunch6220 Před 3 lety

      @@obsidiancommunitytalks9199 It worked! Thank you so much!! 😀

  • @zoltanmate61
    @zoltanmate61 Před rokem

    Sorry for my different type of Qs ! I see your browser Sidebar ... Til i watching your video , it's annoying me how can i do mine to same :D Is it Firefox ? It's a extension ? Thx for your help ...

  • @liovarin
    @liovarin Před 3 lety

    This is really helpful, thanks!
    Is there a way when listing all tasks to exclude the "checked/done" tasks? Edit to add: Yes there is :)
    ```dataviewjs
    dv.taskList(dv.pages().file.tasks
    .where(t => !t.completed))
    ```

    • @liovarin
      @liovarin Před 3 lety

      NO WAIT I have a more important question: Can I have a table output that shows me _how many_ notes I edited on a certain day? So it doesn't show me the file titles but the sum of edited files?
      (Sorry if any of these questions are answered after 42:00, I stopped watching and started fumbling out of excitement, will finish later!)

  • @rafaelfrageri6063
    @rafaelfrageri6063 Před 3 lety +1

    What's your theme? Awesome plugin, good job
    Thanks

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety +1

      I used a combination of Revealjs' "Blood" theme, and some custom css. You can find the slides and stylesheet in this public Community Talks Google Drive folder :)
      drive.google.com/drive/folders/1EisLsGurC9-LfESoV46lJ-FpJrzzk3BC?usp=sharing

    • @rafaelfrageri6063
      @rafaelfrageri6063 Před 3 lety

      @@obsidiancommunitytalks9199 Niice, thank you for that
      But I was talking about Obsidian theme hihihi

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety +1

      I use the Gruvbox theme :)

    • @stefanopagliari8427
      @stefanopagliari8427 Před 3 lety

      @@obsidiancommunitytalks9199 do you have any suggestion on how to learn how to use Revealjs with Obsidian?

  • @jumino4565
    @jumino4565 Před 3 lety +1

    Where was this happening live?

    • @obsidiancommunitytalks9199
      @obsidiancommunitytalks9199  Před 3 lety +2

      @SkepticMystic - We held the live session on Zoom this past Saturday (2021-04-10).
      You can be notified of the live sessions on the Obsidian Discord:
      - Go to the #Announcements page, and react to the message @Silver posted. This will give you the @Community Talks role to be notified of future announcements :)

    • @jumino4565
      @jumino4565 Před 3 lety

      @@obsidiancommunitytalks9199 Thank You.

  • @cristiancortes9188
    @cristiancortes9188 Před 2 lety +1

    Could you pass me the file with the video information?

  • @SoroushTorkian
    @SoroushTorkian Před 2 lety

    Video starts at 7:17

  • @davefar2964
    @davefar2964 Před 2 měsíci

    Thanks a lot for this great video. At czcams.com/video/sEgzrRNkgsE/video.htmlsi=AfcYVuPFoR4bzXU4&t=4066: Why do the links have to be in the yaml section? If you ask dataview for notes that contain a certain link, it yields all notes with the link anywhere in the note, not only in the yaml section, right? So when is the whole note content considered, and when is only the yaml section considered?

  • @ipetrovbg
    @ipetrovbg Před 2 lety

    Awesome video! I've just watched it and I came up with an example with dates:
    ## People that have birthday today
    ```dataview
    TABLE FirstName + " " + LastName as "Name",
    Dates.Birthdate as "Birth Date"
    FROM #people
    WHERE string(date(Dates.Birthdate).day) = string(date(today).day)
    AND string(date(Dates.Birthdate).month) = string(date(today).month)
    ```