I recommend using the choice() function for this.
I suggest starting with formatting the field in the TABLE clause and see if that meets your needs:
```dataview
TABLE
choice(Field1, "☑", "☐") as Field1,
choice(Field2, "☑", "☐") as Field2
WHERE file.name = this.file.name
```
You could also use FLATTEN to create new fields and then refer to them in the TABLE clause. It’s more complicated, but also more flexible:
```dataview
TABLE
Field1Checkbox as Field1,
Field2Checkbox as Field2
FLATTEN choice(Field1, "☑", "☐") as Field1Checkbox
FLATTEN choice(Field2, "☑", "☐") as Field2Checkbox
WHERE file.name = this.file.name
```
Please note that the WHERE clauses in my queries are just to narrow the results; they aren’t needed for formatting the fields.
Here’s what both approaches look like in my vault: