Frequently Asked Questions
A collection of frequently asked questions for Dataview queries and the expression language.
How do I use fields with the same name as keywords (like "from", "where")?
Dataview provides a special "fake" field called row
which can be indexed into to obtain fields which conflict with
Dataview keywords:
row.from /* Same as "from" */
row.where /* Same as "where" */
How do I access fields with spaces in the name?
There are two ways:
- Use the normalized Dataview name for such a field - just convert the name to lowercase and replace whitespace with
dashes ("-"). Something like
Field With Space In It
becomesfield-with-space-in-it
. - Use the implicit
row
field:row["Field With Space In It"]