Hi, again.
Two things:
- If you use literally this format, you don’t have any field:
If you want to use the full-inline format (key:: value) you can’t add text before your field. You can use this format:
10:55
maintain:: Some Task
or
11:17
- maintain2:: Some Other Task
If you want to keep all the content in the same line, then you need to use the inline field in the format [key:: value] or (key:: value) (the difference in the brackets is related to the render of the field - you need to enable the inline field highlighting in settings > dataview - round brackets hides the key):
10:55 - (maintain:: Some Task)
11:17 - (maintain2:: Some Other Task)
- About the query, I have some difficult to understand your goal… If you want a list of “maintain” values in each note, why you give two different key names? Why you don’t use the follow format (multiple values for same key)?
10:55 - (maintain:: Some Task)
11:17 - (maintain:: Some Other Task)
If you want to join two fields in same column you can work with list(maintain, maintain2) AS "Tasks"… but you’ll have issues when one of the values is empty; or if you want the output as a string (and not a list), you can use default(maintain, "") + ", " + default(maintain2, "") AS Tasks; or …