I'm trying to query notes in Obsidian to list only those with `ATLAS_: Home` and `SOURCE_: Budget`, excluding `SOURCE_: Budget List`

What I’m trying to do

I want to query my notes in Obsidian using the Dataview plugin to list only the note with ATLAS_: Home and SOURCE_: Budget, excluding notes with SOURCE_: Budget List.

Things I have tried

  1. Query using contains:

    LIST
    WHERE contains(ATLAS_, "Home") AND contains(SOURCE_, "Budget")
    

    This returns both notes with SOURCE_: Budget and SOURCE_: Budget List.

  2. Query using exact match:

    LIST
    WHERE ATLAS_ = "Home" AND SOURCE_ = "Budget"
    

    This returns no results. I need help with writing the correct query to only show ATLAS_: Home and SOURCE_: Budget.

Thank you for your help.

I resolved the problem. The YAML property had been changed from Text to List and then back to Text and this caused format problems. After addressing it in source mode, I tested on both query 1 and query 2 and both worked.

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