Thanks for your replay.
i did another try with more simple data/notes:
File: _action_1
---
type: action
dat-beg: 2022-12-20
dat-end: 2022-12-20
state: 2
---
project:: [[project_1]]
File: _action_2
---
type: action
dat-beg: 2022-12-20
dat-end: 2022-12-20
state: 1
---
project:: [[project_1]]
File: _action_8
---
type: action
dat-beg: 2022-12-01
dat-end: 2022-12-02
state: 2
---
project:: [[project_2]]
File: project_1
---
dat-beg: 2022-12-20
dat-end: 2022-12-22
type: project
state: 3
---
$=dv.span(await dv.io.load("dv_incl_ProjFile.md"))
File: project_2
---
dat-beg: 2022-12-27
dat-end: 2022-12-29
type: project
state: 1
---
$=dv.span(await dv.io.load("dv_incl_ProjFile.md"))
File: dv_incl_ProjFile
```dataview
TABLE dat-beg, dat-end
WHERE type = "action" AND project = this.file.link
SORT state ASC, dat-beg DESC
but all I get is:
‘-’
mnvwvnm already gave me advise…
I set up a new vault only with dataview-plugin → also negative.
Obsidian Version v1.1.8,
(mnvwvnm has v1.0.3 and it works for him… )
I found this thread: Dataview: reuse DQL queries?
but I dont get through.
i tried to change the call of dv to
$=dv.view(await dv.io.load('dv_incl_file.md'))
______^^^^^^
also renamed the file to dv_incl_file.js
→ negativ
is it a bug possibly?