This example uses a Markdown column to display a numeric rating as a row of stars in a table, with filled (orange) stars for the rating and empty (gray) stars filling the remainder up to five.Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.

Setup
This example uses a numeric rating field and two calculations: one for the filled stars and one for the empty stars. Both calculations use aSWITCH statement on the rating (column A). Add both calculations to your query, then set the column you want to display to Display as Markdown and hide the rating and remaining helper columns.
The template references the calculations as {{calc_1.value}} (filled) and {{calc_2.value}} (empty). Calculation reference names depend on the order they’re created, so update them to match your own.
| Col | Name | Description or formula | Purpose |
|---|---|---|---|
| A | Rating | Numeric rating field (1–5) | Drives both star calculations |
| B | Filled stars (calc_1) | =SWITCH(A1, 1, "★", 2, "★★", 3, "★★★", 4, "★★★★", 5, "★★★★★") | Orange stars equal to the rating |
| C | Empty stars (calc_2) | =SWITCH(A1, 1, "☆☆☆☆", 2, "☆☆☆", 3, "☆☆", 4, "☆", 5, "") | Gray stars filling the remainder up to five |