--- title: "How do I format results?" slug: "how-do-i-format-results" updated: 2026-11-24T13:59:14Z published: 2026-11-24T13:59:14Z canonical: "support.lusid.com/how-do-i-format-results" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.lusid.com/llms.txt > Use this file to discover all available pages before exploring further. # How do I format results? A results grid is much easier to read when its numbers line up, its dates look the way your team writes them and the values that matter stand out. In the Luminesce Query Editor you can format each column, colour cells and rows that meet a condition, and save all of it with the query, so everyone who opens it sees the same thing. ## Prerequisites - Access to the Luminesce Query Editor in the LUSID web app, under **Data Virtualisation > Query Editor**. - A query that has run, with its results showing under the editor. - To save the formatting with the query, permission to save to the workspace it's in. ## Methods All of the formatting starts from a column's menu. Hover over a column heading and select its menu icon. The numbers beside the menu below show which method covers each option. ![](https://cdn.document360.io/d575ad81-c0ed-4980-bbd1-d59ac5c3de82/Images/Documentation/image-NN0Z4RSU.png?sv=2026-02-06&spr=https&st=2026-11-24T14%3A43%3A13Z&se=2026-11-24T15%3A43%3A13Z&sr=b&sp=r&sig=i9SOxKTFTdDkzQtbJlon2waPTgBgeKENANuNkZDg7YM%3D) The menu also has **Explain**, when Luminesce can tell where the column's values come from. See [How do I see where a value in my results came from?](/v1/docs/how-do-i-see-where-a-value-in-my-query-results-came-from) ### Method 1: Format a column's values From the column's menu: | Option | Columns | What it does | | --- | --- | --- | | **Change Number Format** > **Decimal places** | Numbers | Shows from 0 to 5 decimal places, or **Show all**. | | **Change Number Format** > **Use 1000 separator (,)** | Numbers | Separates thousands, for example `1,234,567`. | | **Change Number Format** > **Display as percentage** | Numbers | Shows the value as a percentage. | | **Change Number Format** > **Negative Numbers** | Numbers | Shows negative numbers with a minus sign, in red, in brackets, or in red brackets. | | **Change Date/Time Format** | Dates | Chooses how dates and times are written. Each format is shown as an example, using the current time. | | **Wrap cell content** | All | Wraps long values over several lines rather than cutting them off. | | **Style/Colour** | All | Tints the whole column with one of three colours. Select the colour again to remove it. | Changes apply straight away. ### Method 2: Rename, hide or freeze a column From the column's menu: - **Rename column** changes the heading the column is shown under. The data, and the query, are unchanged. - **Hide column** takes the column out of the grid. To show it again, open the **Columns** side bar on the right of the grid and tick it. - **Freeze column** keeps the column in view as you scroll sideways. **Unfreeze column** releases it. - **Resize to fit** sizes **This column** or **All columns** to their contents. ### Method 3: Add conditional formatting Conditional formatting changes how a cell, or a whole row, looks when a value meets a condition: for example, colouring negative market values red, or shading every row whose status is `Failed`. 1. From the column's menu, select **Conditional formatting**. Once a column has rules, the option shows how many, for example **Conditional formatting (2 rules)**. 2. Select **Add rule**, then fill it in: - **Based on**: the column whose value is tested. This can be a different column, so one column can be coloured by another. - **Condition**: for example **equals**, **contains**, **is greater than**, **is between**, **is blank** or **Apply to all**. - The value to compare with. Type a value, or choose another column to compare each row against. - **Apply to**: what the rule changes. Choose **Cell text**, **Cell fill**, **Cell prefix**, **Cell suffix**, **Custom format**, **Row text** or **Row fill**. - The colour, text or format to use. Colours include **Green**, **Amber**, **Red** and **Custom**, for any colour you like. A custom format is an Excel number format, such as `#,##0.00`. - **Include grouped totals**: whether the rule also applies to group and total rows. It's off by default, so a rule written for individual rows doesn't colour a total by accident. 3. Add more rules if you need them, then select **Apply**. Rules are checked in order. For each kind of change, a cell takes the first rule it matches, so a fill and a text colour can both apply to the same cell. Put the most specific rule first, using **Move rule up** and **Move rule down**. A rule on the cell's own column wins over a row rule on the same cell. ![](https://cdn.document360.io/d575ad81-c0ed-4980-bbd1-d59ac5c3de82/Images/Documentation/image-63Q3ZGVE.png?sv=2026-02-06&spr=https&st=2026-11-24T14%3A43%3A13Z&se=2026-11-24T15%3A43%3A13Z&sr=b&sp=r&sig=KOAyPM38l8CCt1D%2B%2Fm6jElkWA62Z9tsmKxGnSOwJ1tA%3D) ![](https://cdn.document360.io/d575ad81-c0ed-4980-bbd1-d59ac5c3de82/Images/Documentation/image-5XU5E1VV.png?sv=2026-02-06&spr=https&st=2026-11-24T14%3A43%3A13Z&se=2026-11-24T15%3A43%3A13Z&sr=b&sp=r&sig=cd1BV2f3Gr%2FQsfdQFSaI9R5Gv8JDVMrXXLeE4ds1yfA%3D) ### Method 4: Review or clear formatting Once any column is formatted, a formatting overview button appears in the toolbar above the grid. It lists every column with formatting or rules, in the order they're checked. From the list you can: - Edit a column's conditional formatting rules. - Open the column's menu, for its number, date, wrapping and colour options. - Clear the formatting on one column. - Clear the formatting on every column. Groupings are kept. To clear one column from the grid instead, open its menu and select **Reset column**. ![](https://cdn.document360.io/d575ad81-c0ed-4980-bbd1-d59ac5c3de82/Images/Documentation/image-I3HX3O4Q.png?sv=2026-02-06&spr=https&st=2026-11-24T14%3A43%3A13Z&se=2026-11-24T15%3A43%3A13Z&sr=b&sp=r&sig=0xZuYRDBcm2F9JQALF4ryFnR%2ByEv%2FRiIApHmYcBeUDQ%3D) ### Method 5: Save the formatting with the query Formatting stays with the tab, even if you refresh the page. To keep it with the query itself, so it's there for anyone who opens it: - For a query that's already saved, select **Save**. The formatting is saved with it. - For a new query, or with **Save As**, leave **Save formattings** ticked in the **Save query** dialog. It saves the grid's formatting and groupings with the query. The next time the Saved Query is opened, its results are shown with the same formatting, rules, groupings, filters and totals. Column widths and order aren't saved. See [How do I save, open and share queries?](/v1/docs/how-do-i-save-open-and-share-queries) ## Formatting and exports Formatting changes how the grid looks on screen, not the data itself. When you copy cells, you get what the grid shows. To copy a number without its formatting, right-click it and select **Copy raw value**. When you export results, you choose how much of the formatting the file keeps: an Excel file can keep the grid's number formats, groups, totals, colours and links, a CSV file its number and date formats and totals, and a Parquet file only the data. See [How do I copy and download results?](/v1/docs/how-do-i-copy-and-download-results) ## Related articles - [How do I filter, group and total results?](/v1/docs/how-do-i-filter-group-and-total-results) - [Understanding the Query Editor workspace](/v1/docs/understanding-the-query-editor-workspace) - [How do I format results the way the web UI does?](/v1/docs/how-do-i-format-results-the-way-the-web-ui-does), for the same formatting in LumiCode