Hi there, i’m pretty new to obsidian.
Up till now i wasn’t able to find the solution within search. Maybe I’'m not sure what should I search for.
What I’m trying to do
I’m trying to creat a table where each column has its own condition.
I have several files structured as follows:
File 1
#tag1
country: (country_iso:: US)
type: (rad_type:: [ [[A]], [[B]], [[C]], [[D]] ])
File 2
#tag1
country: (country_iso:: FR)
type: (rad_type:: [ [[B]], [[D]] ])
File 3
#tag1
country: (country_iso:: US)
type: (rad_type:: [ [[A]], [[D]] ])
Etc…
The Table should look like this:
Things I have tried
1st step:
TABLE without ID country_iso, file.link
FROM #tag1
WHERE contains(file.outlinks, [[A]])
It returns this:
2nd step:
TABLE file.link
FROM #tag1
WHERE contains(file.outlinks, [[A]])
GROUP BY country_iso
returns nothing good:
and finally:
TABLE file.link WHERE contains(file.outlinks, [[A]]),
file.link WHERE contains(file.outlinks, [[B]]),
file.link WHERE contains(file.outlinks, [[C]]),
FROM #tag1
GROUP BY country_iso
Which resulted in error:
Is there any way to create the output i’m looking for?