Open mrwhaler opened 2 years ago
It's just link
:
TABLE row.file.aliases AS "Aliases",
link(file.link, file.aliases) AS Link,
GROUP BY file.folder
TABLE
link(file.link, file.aliases) AS Link
GROUP BY file.folder
Grouping does not display anything
Can you show us what the output of this query is? Full output won't be necessary and feel free to strip out sensitive info.
```dataview
table
file.folder
```
I will explain what I want to do. I need a list (rows) where the name of the link is replaced (by another value) and it can be grouped.
I imagined it like this: rows.link(file.link, file.aliases) AS Link
table without id
link(rows.file.path, rows.file.aliases) as Link,
rows.file.name
from "Folder"
group by file.aliases
Note that all files without aliases will be grouped together.
Is there an opportunity to make grouping on folders (first column) and change the name of the link to the file with its pseudular (second column)?
| Folders Group | Link (file.link as aliases) |
| ------------- | --------------------------- |
| /folder/ | - 1 |
| | - 2 |
| | - 3 |
| | - 4 |
| | - 5 |
| --- | --- |
| /folder2/ | - 6 |
| | - 7 |
| | - 8 |
| | - 9 |
| | - 10 |
For the next query, two prior conditions:
TABLE rows.LK as Link
FLATTEN link(file.link, file.aliases) AS LK
GROUP BY file.folder
Please explain the meaning of the "Flatten" operator
Separates a result having multiple results in a cell (as a list) into separate entries. https://blacksmithgu.github.io/obsidian-dataview/query/queries/#flatten
Hi, is this still an issue?
What happened?
DQL
JS
No response
Dataview Version
0.4.26
Obsidian Version
0.14.2
OS
Windows