diff --git a/site/app/data/announcement.json b/site/app/data/announcement.json index 2116df2e..5c842f22 100644 --- a/site/app/data/announcement.json +++ b/site/app/data/announcement.json @@ -1,7 +1,7 @@ { - "visible": false, - "title": "Content update:", + "visible": true, + "title": "WORKFLOW 2026 - ", - "message": "The QuickStart Forms: Quick Capture and Analysis has been replaced. See the updated version: Building Forms for Data Capture and Analysis" + "message": "SIGMA'S FIRST USER CONFERENCE WATCH THE HIGHLIGHTS →" } diff --git a/site/app/data/featured-quickstarts.json b/site/app/data/featured-quickstarts.json index 0b599530..05529ec2 100644 --- a/site/app/data/featured-quickstarts.json +++ b/site/app/data/featured-quickstarts.json @@ -1,5 +1,11 @@ { "recentQuickStarts": [ + { + "title": "Reshaping Data with Transpose Tables", + "id": "tables_transpose_tables", + "category": "tables", + "date": "April 24, 2026" + }, { "title": "Scheduling Sigma Insights to Slack", "id": "aiapps_scheduling_sigma_insights_to_slack", @@ -71,12 +77,6 @@ "id": "developers_data_models_as_code", "category": "Developers", "date": "Jan 29, 2026" - }, - { - "title": "Sigma Tenants: Managing Isolated Organizations", - "id": "administration_multitenancy", - "category": "Administration", - "date": "Jan 26, 2026" } ] } diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/closeview.png b/site/sigmaguides/src/tables_transpose_tables/assets/closeview.png new file mode 100644 index 00000000..d0fbb0e4 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/closeview.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/crane.png b/site/sigmaguides/src/tables_transpose_tables/assets/crane.png new file mode 100644 index 00000000..225ecf3f Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/crane.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/facebook.png b/site/sigmaguides/src/tables_transpose_tables/assets/facebook.png new file mode 100644 index 00000000..fa3f0e02 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/facebook.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/heart_icon.png b/site/sigmaguides/src/tables_transpose_tables/assets/heart_icon.png new file mode 100644 index 00000000..bff9ea90 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/heart_icon.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/horizonalline.png b/site/sigmaguides/src/tables_transpose_tables/assets/horizonalline.png new file mode 100644 index 00000000..7c49d872 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/horizonalline.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/linkedin.png b/site/sigmaguides/src/tables_transpose_tables/assets/linkedin.png new file mode 100644 index 00000000..d1a0636d Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/linkedin.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/sigma_footer.png b/site/sigmaguides/src/tables_transpose_tables/assets/sigma_footer.png new file mode 100644 index 00000000..df51d771 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/sigma_footer.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_01.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_01.png new file mode 100644 index 00000000..f7a6326b Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_01.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_02.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_02.png new file mode 100644 index 00000000..4056ddd3 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_02.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_03.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_03.png new file mode 100644 index 00000000..5008056c Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_03.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_04.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_04.png new file mode 100644 index 00000000..e5c7daf5 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_04.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_05.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_05.png new file mode 100644 index 00000000..c4b0129a Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_05.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_06.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_06.png new file mode 100644 index 00000000..9eed5c39 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_06.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_07.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_07.png new file mode 100644 index 00000000..34ec04b7 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_07.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_08.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_08.png new file mode 100644 index 00000000..c00f048f Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_08.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_09.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_09.png new file mode 100644 index 00000000..dd83c2f2 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_09.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_10.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_10.png new file mode 100644 index 00000000..d3db26b4 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_10.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_11.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_11.png new file mode 100644 index 00000000..e8365b21 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_11.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/tt_12.png b/site/sigmaguides/src/tables_transpose_tables/assets/tt_12.png new file mode 100644 index 00000000..2d32036d Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/tt_12.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/assets/twitter.png b/site/sigmaguides/src/tables_transpose_tables/assets/twitter.png new file mode 100644 index 00000000..5a827d72 Binary files /dev/null and b/site/sigmaguides/src/tables_transpose_tables/assets/twitter.png differ diff --git a/site/sigmaguides/src/tables_transpose_tables/tables_transpose_tables.md b/site/sigmaguides/src/tables_transpose_tables/tables_transpose_tables.md new file mode 100644 index 00000000..364abaac --- /dev/null +++ b/site/sigmaguides/src/tables_transpose_tables/tables_transpose_tables.md @@ -0,0 +1,312 @@ +author: pballai +id: tables_transpose_tables +summary: Learn how to use Sigma's Transpose table to reshape data in two directions — converting rows into columns for side-by-side category comparisons, and converting wide columns into rows for long-format analysis. +categories: tables +environments: web +status: Published +feedback link: https://github.com/sigmacomputing/sigmaquickstarts/issues +tags: Default +lastUpdated: 2026-04-24 + +# Reshaping Data with Transpose Tables + +## Overview +Duration: 5 + +This QuickStart shows how to use Sigma's Transpose table to reshape data in two directions — converting rows into columns for side-by-side comparisons, and converting wide columns into rows for long-format analysis. + +Most data arrives from the warehouse in one of two shapes that aren't analysis-ready: + +- **Too narrow**: dimension values are stacked in rows when you want them spread across columns — one column per category, store, or time period +- **Too wide**: related metrics are split into separate columns when you want them stacked as rows — one row per observation per measure + +Transpose addresses both. It operates directly on the data from your data platform and produces a reshaped output that you can then group, aggregate, filter, and chart within Sigma. + +This QuickStart covers both directions using two Sigma sample datasets — `PLUGS_ELECTRONICS` for Row to Column, and `FLIGHTS` for Column to Row. + +Along the way you'll learn how to: +- Add a Transpose table from any source table using `Element source` > `Transpose` +- Configure Row to Column — selecting a label column, value column, aggregate, and output dimensions +- Configure Column to Row — selecting columns to merge, naming the label and value output columns +- Add grouping and aggregations within the Transpose element to complete the analysis + + + +For more information on Sigma's product release strategy, see [Sigma product releases](https://help.sigmacomputing.com/docs/sigma-product-releases) + +If something doesn't work as expected, here's how to [contact Sigma support](https://help.sigmacomputing.com/docs/sigma-support) + +### Target Audience +Analysts who need to reshape source data for comparison views, long-format analysis, or charting. Familiarity with Sigma workbooks and basic table operations is assumed. + +### Prerequisites + +
+
+### Create a child table to transpose
+
+Open the `3-dot` menu on the table and select to create `Child` table:
+
+
+
+Using the `3-dot` menu but from the child table, move it to the `Category Cost` page.
+
+### Transpose the child table
+
+
+
+On the `Category Cost` page with the child table selected, click the `3-dot` menu and then select `Element source` > `Transpose`:
+
+
+
+The Transpose configuration modal opens. The right panel labeled `Original table` shows a preview of the source data.
+
+### Configure Row to Column
+
+The modal defaults to `Row to Column`. Leave that selected and configure the following fields:
+
+- Column to transpose: `Product Type`
+- Value column: `Cost`
+- Aggregate: `Sum`
+
+Sigma reads the unique values in `Product Type` and creates one output column for each — `Arts & Entertainment`, `Computers`, `Entertainment`, `Mobiles`, `Music`, and `Photography`. We will use these in a moment.
+
+The `Value column` (`Cost`) provides the numbers that populate those columns, aggregated by `Sum` within each output row.
+
+### Select output columns
+
+In the `Output columns` section, choose which additional columns to include alongside the transposed category columns. Check `Store Region` and `Store State` to retain the store location dimensions.
+
+The output preview shows the row structure — one row per `Store Region` and `Store State` — but the `Product Type` columns are not included yet.
+
+
+
+Scroll the `Output columns` list to select the product types to include. Select them all:
+
+
+
+Click `Submit`.
+
+After formatting the values as `Currency`, the table now shows store locations as rows and product categories as columns, with total cost summed across all transactions in each cell.
+
+This layout makes it straightforward to compare cost patterns across categories for any store region or state:
+
+
+
+We could also take the extra step to group by `Store Region` and `Store State` to make the results really clear:
+
+
+
+**WHY IT MATTERS:**
+
+The `FLIGHTS` table has five delay columns — `Air System Delay`, `Security Delay`, `Airline Delay`, `Late Aircraft Delay`, and `Weather Delay` — each representing a different cause of delay in minutes.
+
+### Create a child table
+
+Once again, create a child table from `FLIGHTS` and move it to the `Delay Analysis` page.
+
+### Add a Transpose table
+
+On the `Delay Analysis` page, with the child table selected, click the `More` menu (three-dot icon) on the element, then select `Element source` > `Transpose`.
+
+### Configure Column to Row
+
+In the modal, select `Column to Row`.
+
+The configuration fields change to reflect the column-to-row direction.
+
+For `Columns to merge` select the five delay columns:
+- Air System Delay
+- Security Delay
+- Airline Delay
+- Late Aircraft Delay
+- Weather Delay
+
+
+
+Change the label for `Column label for merged columns` to `Delay Type`.
+
+Also change the label for `Column label for values` to `Delay Time`:
+
+
+
+The `Columns to merge` selection determines which columns are collapsed into rows.
+
+`Column label for merged columns` names the new column that will hold the original column names as values.
+
+`Column label for values` names the column that holds the corresponding numeric values.
+
+In the `Output columns` section, ensure `Airline` is included. Leave all other columns selected.
+
+The output preview shows the long-format result — each flight now appears once per delay type:
+
+
+
+
+
+Click `Submit`.
+
+### Group within the Transpose element
+
+Sigma creates the Transpose table on the `Data` page and names it `Transpose of FLIGHTS`.
+
+Now we can add grouping and a calculation to summarize the data.
+
+In the element panel, drag `Airline` and `Delay Type` to the `Group By` section. Then click `+` next to `CALCULATIONS` and enter:
+
+```copy-code
+Sum([Delay Time])
+```
+
+Rename the column `Total Delay`.
+
+
+
+The table now shows one row per airline per delay type — 70 rows for 14 airlines × 5 delay types — with total delay in minutes.
+
+Each airline's total delay minutes broken down by cause, in a format that supports filtering, sorting, and charting with a single value column.
+
+**WHY IT MATTERS:**
](https://twitter.com/sigmacomputing)
+[
](https://www.linkedin.com/company/sigmacomputing)
+[
](https://www.facebook.com/sigmacomputing)
+
+
+
+