# Conjoin tables from different notes into one big table

**URL:** <https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966>\
**Category:** Help\
**Tags:** dataview\
**Created:** [May 17, 2024, 8:46am UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966 "2024-05-17T08:46:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GalaxyMaster](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/8baadc/32.png) [@GalaxyMaster](https://forum.obsidian.md/u/GalaxyMaster)\
**Post date:** [May 17, 2024, 8:46am UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966/1 "2024-05-17T08:46:08Z")

</div>

### What I’m trying to do

Trying to conjoin multiple tables from different notes into one big database so i can view them all at once

joining this table with another of the same kind in a different daily note

| Exercise | Set | Weight | Reps |
| --- | --- | --- | --- |
| Chest press | 1 | 60kg | 8 |
| | 2 | 70kg | 2 |
| | 3 | 40kg | 12 |
| Pullups | 1 | 0 | 8 |
| | 2 | 0 | 9 |
| | 3 | 0 | 8 |

### Tried

done a few things with templater or dataview but havnt figured out a way to draw table data from other notes, there a way to do it?

---

<div class="post-metadata">

**Author:** ![holroy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/holroy/32/77699_2.png) [@holroy](https://forum.obsidian.md/u/holroy)\
**Post date:** [May 17, 2024, 11:40am UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966/2 "2024-05-17T11:40:39Z")

</div>

You’ll need to either write one query to catch information from all files, or switch to _dataviewjs_, do the separate queries and then join the tables using javascript.

---

<div class="post-metadata">

**Author:** ![GalaxyMaster](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/8baadc/32.png) [@GalaxyMaster](https://forum.obsidian.md/u/GalaxyMaster)\
**Post date:** [May 17, 2024, 11:00pm UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966/3 "2024-05-17T23:00:24Z")

</div>

how do i get the information from the tables with a query?

---

<div class="post-metadata">

**Author:** ![holroy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/holroy/32/77699_2.png) [@holroy](https://forum.obsidian.md/u/holroy)\
**Post date:** [May 17, 2024, 11:03pm UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966/4 "2024-05-17T23:03:26Z")

</div>

You can do `const result = await dv.query(` … `)` a few times, and then join the different `result.values`.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [August 15, 2024, 11:04pm UTC](https://forum.obsidian.md/t/conjoin-tables-from-different-notes-into-one-big-table/81966/5 "2024-08-15T23:04:07Z")

</div>

Closed on August 15, 2024, 11:04pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
