From e8bc9567f833c41360b525c7a98891bd7af7c11d Mon Sep 17 00:00:00 2001 From: kubow Date: Wed, 18 Feb 2026 23:13:16 +0100 Subject: [PATCH] enhance new layout --- .../organization/colorPalettes.json | 87 +- ecommerce-demo/organization/themes.json | 483 +- ecommerce-demo/workspaces/demo/ldm.json | 939 +- .../workspaces/demo/workspaceAnalytics.json | 19557 +++++++++------- .../workspaces/demo/workspaceSettings.json | 14 +- 5 files changed, 11726 insertions(+), 9354 deletions(-) diff --git a/ecommerce-demo/organization/colorPalettes.json b/ecommerce-demo/organization/colorPalettes.json index 4b53b27..1b304b4 100644 --- a/ecommerce-demo/organization/colorPalettes.json +++ b/ecommerce-demo/organization/colorPalettes.json @@ -1,4 +1,89 @@ [ + { + "colorPaletteId": "gdc_demo_colorPalette_lime", + "attributes": [ + { + "guid": "01", + "fill": { + "r": 33, + "g": 52, + "b": 118 + } + }, + { + "guid": "02", + "fill": { + "r": 101, + "g": 123, + "b": 199 + } + }, + { + "guid": "03", + "fill": { + "r": 146, + "g": 199, + "b": 21 + } + }, + { + "guid": "04", + "fill": { + "r": 206, + "g": 206, + "b": 206 + } + }, + { + "guid": "05", + "fill": { + "r": 40, + "g": 93, + "b": 146 + } + }, + { + "guid": "06", + "fill": { + "r": 120, + "g": 150, + "b": 210 + } + }, + { + "guid": "07", + "fill": { + "r": 60, + "g": 80, + "b": 150 + } + }, + { + "guid": "08", + "fill": { + "r": 167, + "g": 210, + "b": 67 + } + }, + { + "guid": "09", + "fill": { + "r": 242, + "g": 242, + "b": 242 + } + }, + { + "guid": "10", + "fill": { + "r": 205, + "g": 226, + "b": 247 + } + } + ] + }, { "colorPaletteId": "gdc_demo_colorPalette_contrast", "attributes": [ @@ -318,4 +403,4 @@ } ] } -] +] \ No newline at end of file diff --git a/ecommerce-demo/organization/themes.json b/ecommerce-demo/organization/themes.json index a1740ed..c9dbe20 100644 --- a/ecommerce-demo/organization/themes.json +++ b/ecommerce-demo/organization/themes.json @@ -1,250 +1,331 @@ [ { - "themeId": "gdc_demo_theme_pink_light", + "themeId": "gdc_demo_theme_lime", "content": { - "palette": { - "primary": { - "base": "#ED26B7" - }, - "error": { - "base": "#e54d42" - }, - "success": { - "base": "#00c18d" - }, - "warning": { - "base": "#f4d521" - } - }, - "typography": { - "font": "url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wXiWtFCc.woff2)", - "fontBold": "url(https://fonts.gstatic.com/s/lato/v23/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2)" - }, - "button": { - "borderRadius": "100", - "dropShadow": false - }, - "analyticalDesigner": { - "title": { - "color": "#1C0D3F" - } - }, - "dashboards": { - "content": { - "backgroundColor": "#f2f4f6", - "kpiWidget": { - "title": { - "color": "#f2f4f6B2", - "textAlign": "center" - }, - "kpi": { - "primaryMeasureColor": "#fff", - "secondaryInfoColor": "#f2f4f6B2" - }, - "borderRadius": "6", - "borderWidth": "1", - "backgroundColor": "#1c0d3f", - "dropShadow": false - } - }, - "title": { - "color": "#1C0D3F", - "backgroundColor": "#fff", - "borderColor": "#DFE4E8" - }, - "navigation": { - "backgroundColor": "#1C0D3F", - "title": { - "color": "#fff" - }, - "item": { - "color": "#BFC9D1", - "hoverColor": "#fff", - "selectedColor": "#fff", - "selectedBackgroundColor": "#FFFFFF1A" - } - }, - "filterBar": { - "filterButton": { - "backgroundColor": "#F2F4F6" - }, - "backgroundColor": "#fff", - "borderColor": "#DFE4E8" - }, - "section": { - "title": { - "color": "#1c0d3f", - "lineColor": "#DFE4E8" - } - } - } - } - }, - { - "themeId": "gdc_demo_theme_green_dark", - "content": { - "palette": { - "primary": { - "base": "#1DB954" - }, - "complementary": { - "c0": "#000", - "c1": "#262626", - "c2": "#323333", - "c3": "#3F403F", - "c4": "#585958", - "c5": "#707370", - "c6": "#898C89", - "c7": "#A1A6A2", - "c8": "#BABFBA", - "c9": "#D2D9D3" - } + "palette": { + "primary": { + "base": "#14b2e2" + }, + "error": { + "base": "#e54d42" + }, + "success": { + "base": "#00c18d" + }, + "warning": { + "base": "#f4d521" + } }, "typography": { - "font": "url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2)", - "fontBold": "url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)" + "font": "url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wXiWtFCc.woff2)", + "fontBold": "url(https://fonts.gstatic.com/s/lato/v23/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2)" + }, + "button": { + "borderRadius": "100", + "dropShadow": false + }, + "analyticalDesigner": { + "title": { + "color": "#14b2e2" + } }, "dashboards": { - "filterBar": { - "borderColor": "#000" - }, - "content": { - "kpiWidget": { - "borderRadius": "4", - "backgroundColor": "#262626" + "content": { + "backgroundColor": "#f9f9f9", + "kpiWidget": { + "title": { + "color": "#464e56", + "textAlign": "center" + }, + "kpi": { + "primaryMeasureColor": "#303442", + "secondaryInfoColor": "#778491" + }, + "borderRadius": "6", + "borderWidth": "1", + "backgroundColor": "#DDEFFB", + "dropShadow": false + } + }, + "title": { + "color": "#1C0D3F", + "backgroundColor": "#fff", + "borderColor": "#DFE4E8" + }, + "navigation": { + "backgroundColor": "#303442", + "title": { + "color": "#fff" + }, + "item": { + "color": "#BFC9D1", + "hoverColor": "#fff", + "selectedColor": "#fff", + "selectedBackgroundColor": "#FFFFFF1A" + } + }, + "filterBar": { + "filterButton": { + "backgroundColor": "#F2F4F6" + }, + "backgroundColor": "#fff", + "borderColor": "#DFE4E8" + }, + "section": { + "title": { + "color": "#1c0d3f", + "lineColor": "#DFE4E8" + } } - } } - } - }, + } + }, { - "themeId": "gdc_demo_theme_blue_light", + "themeId": "gdc_demo_theme_pink_light", "content": { "palette": { "primary": { - "base": "#347EFF" + "base": "#ED26B7" }, "error": { - "base": "#d13049" + "base": "#e54d42" }, "success": { - "base": "#25a953" + "base": "#00c18d" }, "warning": { - "base": "#FF9546" + "base": "#f4d521" } - }, - "button": { - "borderRadius": "2", - "dropShadow": true - }, - "modal": { + }, + "typography": { + "font": "url(https://fonts.gstatic.com/s/lato/v23/S6uyw4BMUTPHjx4wXiWtFCc.woff2)", + "fontBold": "url(https://fonts.gstatic.com/s/lato/v23/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2)" + }, + "button": { + "borderRadius": "100", + "dropShadow": false + }, + "analyticalDesigner": { "title": { - "color": "#413C5E", - "lineColor": "#DFE0E5" - }, - "borderColor": "#ffffff", - "borderRadius": "6", - "borderWidth": "2", - "dropShadow": true, - "outsideBackgroundColor": "#DFE0E5" - }, - "tooltip": { - "color": "#FFFFFFCC", - "backgroundColor": "#413C5E" - }, - "analyticalDesigner": { + "color": "#1C0D3F" + } + }, + "dashboards": { + "content": { + "backgroundColor": "#f2f4f6", + "kpiWidget": { + "title": { + "color": "#f2f4f6B2", + "textAlign": "center" + }, + "kpi": { + "primaryMeasureColor": "#fff", + "secondaryInfoColor": "#f2f4f6B2" + }, + "borderRadius": "6", + "borderWidth": "1", + "backgroundColor": "#1c0d3f", + "dropShadow": false + } + }, "title": { - "color": "#413C5E" + "color": "#1C0D3F", + "backgroundColor": "#fff", + "borderColor": "#DFE4E8" + }, + "navigation": { + "backgroundColor": "#1C0D3F", + "title": { + "color": "#fff" + }, + "item": { + "color": "#BFC9D1", + "hoverColor": "#fff", + "selectedColor": "#fff", + "selectedBackgroundColor": "#FFFFFF1A" + } + }, + "filterBar": { + "filterButton": { + "backgroundColor": "#F2F4F6" + }, + "backgroundColor": "#fff", + "borderColor": "#DFE4E8" + }, + "section": { + "title": { + "color": "#1c0d3f", + "lineColor": "#DFE4E8" + } + } + } + } + }, + { + "themeId": "gdc_demo_theme_green_dark", + "content": { + "palette": { + "primary": { + "base": "#1DB954" + }, + "complementary": { + "c0": "#000", + "c1": "#262626", + "c2": "#323333", + "c3": "#3F403F", + "c4": "#585958", + "c5": "#707370", + "c6": "#898C89", + "c7": "#A1A6A2", + "c8": "#BABFBA", + "c9": "#D2D9D3" } }, + "typography": { + "font": "url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4AMP6lQ.woff2)", + "fontBold": "url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2)" + }, "dashboards": { - "title": { - "color": "#413C5E", - "backgroundColor": "#FFFFFF", - "borderColor": "#BFC4E0" + "filterBar": { + "borderColor": "#000" }, - "navigation": { - "title": { - "color": "#413C5E" + "content": { + "kpiWidget": { + "borderRadius": "4", + "backgroundColor": "#262626" + } + } + } + } + }, + { + "themeId": "gdc_demo_theme_blue_light", + "content": { + "palette": { + "primary": { + "base": "#347EFF" }, - "borderColor": "#BFC4E0", - "item": { - "color": "#413C5E", - "hoverColor": "#2A80F8", - "selectedColor": "#2A80F8", - "selectedBackgroundColor": "#fff" + "error": { + "base": "#d13049" }, - "backgroundColor": "#F4F5FB" - }, - "filterBar": { - "filterButton": { - "backgroundColor": "#FFFFFF" + "success": { + "base": "#25a953" }, - "backgroundColor": "#FFFFFF", - "borderColor": "#BFC4E0" + "warning": { + "base": "#FF9546" + } }, - "section": { + "button": { + "borderRadius": "2", + "dropShadow": true + }, + "modal": { "title": { "color": "#413C5E", - "lineColor": "#FFFFFF" + "lineColor": "#DFE0E5" }, - "description": { - "color": "#999EA5" + "borderColor": "#ffffff", + "borderRadius": "6", + "borderWidth": "2", + "dropShadow": true, + "outsideBackgroundColor": "#DFE0E5" + }, + "tooltip": { + "color": "#FFFFFFCC", + "backgroundColor": "#413C5E" + }, + "analyticalDesigner": { + "title": { + "color": "#413C5E" } }, - "content": { - "kpiWidget": { + "dashboards": { + "title": { + "color": "#413C5E", + "backgroundColor": "#FFFFFF", + "borderColor": "#BFC4E0" + }, + "navigation": { "title": { - "color": "#413c5e", - "textAlign": "center" + "color": "#413C5E" }, - "kpi": { - "primaryMeasureColor": "#2a80f8", - "secondaryInfoColor": "#413C5E99" + "borderColor": "#BFC4E0", + "item": { + "color": "#413C5E", + "hoverColor": "#2A80F8", + "selectedColor": "#2A80F8", + "selectedBackgroundColor": "#fff" + }, + "backgroundColor": "#F4F5FB" + }, + "filterBar": { + "filterButton": { + "backgroundColor": "#FFFFFF" }, - "borderColor": "#2168E5", - "borderRadius": "6", - "borderWidth": "0", - "backgroundColor": "#F4F5FB", - "dropShadow": false + "backgroundColor": "#FFFFFF", + "borderColor": "#BFC4E0" }, - "widget": { + "section": { "title": { - "color": "#101010", - "textAlign": "center" + "color": "#413C5E", + "lineColor": "#FFFFFF" }, - "borderColor": "#ffffff", - "borderRadius": "6", - "borderWidth": "2", - "dropShadow": false + "description": { + "color": "#999EA5" + } }, - "backgroundColor": "#FFFFFF" + "content": { + "kpiWidget": { + "title": { + "color": "#413c5e", + "textAlign": "center" + }, + "kpi": { + "primaryMeasureColor": "#2a80f8", + "secondaryInfoColor": "#413C5E99" + }, + "borderColor": "#2168E5", + "borderRadius": "6", + "borderWidth": "0", + "backgroundColor": "#F4F5FB", + "dropShadow": false + }, + "widget": { + "title": { + "color": "#101010", + "textAlign": "center" + }, + "borderColor": "#ffffff", + "borderRadius": "6", + "borderWidth": "2", + "dropShadow": false + }, + "backgroundColor": "#FFFFFF" + } } } - } - }, - { - "themeId": "gdc_demo_theme_indigo_dark", - "content": { - "palette": { - "primary": { - "base": "#14B2E2" + }, + { + "themeId": "gdc_demo_theme_indigo_dark", + "content": { + "palette": { + "primary": { + "base": "#14B2E2" + }, + "complementary": { + "c0": "#09131B", + "c1": "#122330", + "c5": "#4A6C89", + "c9": "#F0F8FF" + } }, - "complementary": { - "c0": "#09131B", - "c1": "#122330", - "c5": "#4A6C89", - "c9": "#F0F8FF" - } - }, - "dashboards": { - "content": { - "widget": { - "backgroundColor": "#122330" + "dashboards": { + "content": { + "widget": { + "backgroundColor": "#122330" + } } } } } - } -] + ] \ No newline at end of file diff --git a/ecommerce-demo/workspaces/demo/ldm.json b/ecommerce-demo/workspaces/demo/ldm.json index 6c8bc24..981d85e 100644 --- a/ecommerce-demo/workspaces/demo/ldm.json +++ b/ecommerce-demo/workspaces/demo/ldm.json @@ -2,196 +2,230 @@ "ldm": { "datasets": [ { - "id": "customer", - "title": "Customer", - "description": "Customer", - "grain": [ - { - "id": "customer_id", - "type": "attribute" - } - ], + "aggregatedFacts": [], "attributes": [ { + "description": "City where customer's headquarter is based.", "id": "customer_city", - "title": "Customer city", - "description": "Customer city", "labels": [ { - "id": "geo__customer_city__city_pushpin_latitude", - "title": "City pushpin latitude", "description": "City pushpin latitude", + "id": "geo__customer_city__city_pushpin_latitude", "sourceColumn": "geo__customer_city__city_pushpin_latitude", "sourceColumnDataType": "STRING", "tags": [ "Customer" ], + "title": "City pushpin latitude", "valueType": "GEO_LATITUDE" }, { - "id": "geo__customer_city__city_pushpin_longitude", - "title": "City pushpin longitude", "description": "City pushpin longitude", + "id": "geo__customer_city__city_pushpin_longitude", "sourceColumn": "geo__customer_city__city_pushpin_longitude", "sourceColumnDataType": "STRING", "tags": [ "Customer" ], + "title": "City pushpin longitude", "valueType": "GEO_LONGITUDE" } ], + "sourceColumn": "customer_city", + "sourceColumnDataType": "STRING", "tags": [ "Customer" ], - "sourceColumn": "customer_city", - "sourceColumnDataType": "STRING" + "title": "Customer city" }, { - "id": "customer_country", - "title": "Customer country", "description": "Customer country", - "labels": [], + "id": "customer_country", + "labels": [ + { + "description": "", + "geoAreaConfig": { + "collection": { + "id": "countries", + "kind": "STATIC" + } + }, + "id": "customer_country.customer_country_code", + "sourceColumn": "customer_country_code", + "sourceColumnDataType": "STRING", + "tags": [ + "Customer" + ], + "title": "Customer Country Code", + "valueType": "GEO_AREA" + } + ], + "sourceColumn": "customer_country", + "sourceColumnDataType": "STRING", "tags": [ "Customer" ], - "sourceColumn": "customer_country", - "sourceColumnDataType": "STRING" + "title": "Customer country" }, { - "id": "customer_email", - "title": "Customer email", "description": "Customer email", + "id": "customer_email", "labels": [], + "sourceColumn": "customer_email", + "sourceColumnDataType": "STRING", "tags": [ "Customer" ], - "sourceColumn": "customer_email", - "sourceColumnDataType": "STRING" + "title": "Customer email" }, { - "id": "customer_id", - "title": "Customer id", "description": "Customer id", + "id": "customer_id", "labels": [ { - "id": "customer_name", - "title": "Customer name", "description": "Customer name", + "id": "customer_name", "sourceColumn": "ls__customer_id__customer_name", "sourceColumnDataType": "STRING", "tags": [ "Customer" - ] + ], + "title": "Customer name" } ], + "sourceColumn": "customer_id", + "sourceColumnDataType": "STRING", "tags": [ "Customer" ], - "sourceColumn": "customer_id", - "sourceColumnDataType": "STRING" + "title": "Customer id" }, { - "id": "customer_state", - "title": "Customer state", "description": "Customer state", - "labels": [], + "id": "customer_state", + "labels": [ + { + "description": "", + "geoAreaConfig": { + "collection": { + "id": "regions", + "kind": "STATIC" + } + }, + "id": "customer_state.customer_region_code", + "sourceColumn": "customer_region_code", + "sourceColumnDataType": "STRING", + "tags": [ + "Customer" + ], + "title": "Customer Region Code", + "valueType": "GEO_AREA" + } + ], + "sourceColumn": "customer_state", + "sourceColumnDataType": "STRING", "tags": [ "Customer" ], - "sourceColumn": "customer_state", - "sourceColumnDataType": "STRING" + "title": "Customer state" } ], + "dataSourceTableId": { + "dataSourceId": "gdc_ds_ecommerce_demo", + "id": "customer", + "path": [ + "ECOMMERCE_DEMO_SCHEMA", + "customer" + ], + "type": "dataSource" + }, + "description": "Customer", "facts": [], + "grain": [ + { + "id": "customer_id", + "type": "attribute" + } + ], + "id": "customer", "references": [ { "identifier": { - "id": "customer_created_date", + "id": "user_created_date", "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "customer_created_date" - ], - "sourceColumnDataTypes": [ - "DATE" + "sources": [ + { + "column": "customer_created_date", + "dataType": "DATE", + "target": { + "id": "user_created_date", + "type": "date" + } + } ] } ], "tags": [ "Customer" ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__CLIENT_ID", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__client_id", - "filterColumnDataType": "STRING" - } - ], - "dataSourceTableId": { - "id": "customer", - "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", - "path": [ - "ECOMMERCE_DEMO_SCHEMA", - "customer" - ] - }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__client_id", - "dataType": "STRING" - } - ] + "title": "Customer" }, { - "id": "monthlyinventory", - "title": "Monthly inventory", - "description": "Monthly inventory", - "grain": [ - { - "id": "monthly_inventory_id", - "type": "attribute" - } - ], + "aggregatedFacts": [], "attributes": [ { - "id": "monthly_inventory_id", - "title": "Monthly inventory id", "description": "Monthly inventory id", + "id": "monthly_inventory_id", "labels": [], + "sourceColumn": "monthly_inventory_id", + "sourceColumnDataType": "STRING", "tags": [ "Monthly inventory" ], - "sourceColumn": "monthly_inventory_id", - "sourceColumnDataType": "STRING" + "title": "Monthly inventory id" } ], + "dataSourceTableId": { + "dataSourceId": "gdc_ds_ecommerce_demo", + "id": "monthlyinventory", + "path": [ + "ECOMMERCE_DEMO_SCHEMA", + "monthlyinventory" + ], + "type": "dataSource" + }, + "description": "Monthly inventory snapshot by product, tracking quantity at beginning of month (BOM) and end of month (EOM) for stock and turnover analysis.", "facts": [ { - "id": "monthly_quantity_bom", - "title": "Monthly quantity bom", "description": "Monthly quantity bom", + "id": "monthly_quantity_bom", "sourceColumn": "monthly_quantity_bom", "sourceColumnDataType": "NUMERIC", "tags": [ "Monthly inventory" - ] + ], + "title": "Monthly quantity bom" }, { - "id": "monthly_quantity_eom", - "title": "Monthly quantity eom", "description": "Monthly quantity eom", + "id": "monthly_quantity_eom", "sourceColumn": "monthly_quantity_eom", "sourceColumnDataType": "NUMERIC", "tags": [ "Monthly inventory" - ] + ], + "title": "Monthly quantity eom" + } + ], + "grain": [ + { + "id": "monthly_inventory_id", + "type": "attribute" } ], + "id": "monthlyinventory", "references": [ { "identifier": { @@ -199,11 +233,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "date" - ], - "sourceColumnDataTypes": [ - "TIMESTAMP" + "sources": [ + { + "column": "date", + "dataType": "TIMESTAMP", + "target": { + "id": "date", + "type": "date" + } + } ] }, { @@ -212,11 +250,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "inventory_month" - ], - "sourceColumnDataTypes": [ - "DATE" + "sources": [ + { + "column": "inventory_month", + "dataType": "DATE", + "target": { + "id": "inventory_month", + "type": "date" + } + } ] }, { @@ -225,119 +267,97 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "product__product_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "product__product_id", + "dataType": "STRING", + "target": { + "id": "product_id", + "type": "attribute" + } + } ] } ], "tags": [ "Monthly inventory" ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__CLIENT_ID", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__client_id", - "filterColumnDataType": "STRING" - } - ], - "dataSourceTableId": { - "id": "monthlyinventory", - "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", - "path": [ - "ECOMMERCE_DEMO_SCHEMA", - "monthlyinventory" - ] - }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__client_id", - "dataType": "STRING" - } - ] + "title": "Monthly inventory" }, { - "id": "order_lines", - "title": "Order lines", - "description": "Order lines", - "grain": [ - { - "id": "order_line_id", - "type": "attribute" - } - ], + "aggregatedFacts": [], "attributes": [ { - "id": "customer_age", - "title": "Customer age", - "description": "Customer age", - "labels": [], - "tags": [ - "Order lines" - ], - "sourceColumn": "customer_age", - "sourceColumnDataType": "STRING" - }, - { - "id": "order_line_id", - "title": "Order line id", "description": "Order line id", + "id": "order_line_id", "labels": [], + "sourceColumn": "order_line_id", + "sourceColumnDataType": "STRING", "tags": [ "Order lines" ], - "sourceColumn": "order_line_id", - "sourceColumnDataType": "STRING" + "title": "Order line id" } ], + "dataSourceTableId": { + "dataSourceId": "gdc_ds_ecommerce_demo", + "id": "order_lines", + "path": [ + "ECOMMERCE_DEMO_SCHEMA", + "order_lines" + ], + "type": "dataSource" + }, + "description": "Order lines", "facts": [ { + "description": "Cost per unit for the order line (cost of goods sold per unit), used for margin and profitability analysis.", "id": "order_unit_cost", - "title": "Order unit cost", - "description": "Order unit cost", "sourceColumn": "order_unit_cost", "sourceColumnDataType": "NUMERIC", "tags": [ "Order lines" - ] + ], + "title": "Unit cost" }, { - "id": "order_unit_discount", - "title": "Order unit discount", "description": "Order unit discount", + "id": "order_unit_discount", "sourceColumn": "order_unit_discount", "sourceColumnDataType": "NUMERIC", "tags": [ "Order lines" - ] + ], + "title": "Order unit discount" }, { + "description": "Selling price per unit for the order line before discounts, used for revenue and pricing analysis.", "id": "order_unit_price", - "title": "Order unit price", - "description": "Order unit price", "sourceColumn": "order_unit_price", "sourceColumnDataType": "NUMERIC", "tags": [ "Order lines" - ] + ], + "title": "Unit price" }, { - "id": "order_unit_quantity", - "title": "Order unit quantity", "description": "Order unit quantity", + "id": "order_unit_quantity", "sourceColumn": "order_unit_quantity", "sourceColumnDataType": "NUMERIC", "tags": [ "Order lines" - ] + ], + "title": "Order unit quantity" } ], + "grain": [ + { + "id": "order_line_id", + "type": "attribute" + } + ], + "id": "order_lines", "references": [ { "identifier": { @@ -345,11 +365,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "customer__customer_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "customer__customer_id", + "dataType": "STRING", + "target": { + "id": "customer_id", + "type": "attribute" + } + } ] }, { @@ -358,11 +382,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "date" - ], - "sourceColumnDataTypes": [ - "TIMESTAMP" + "sources": [ + { + "column": "date", + "dataType": "TIMESTAMP", + "target": { + "id": "date", + "type": "date" + } + } ] }, { @@ -371,11 +399,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "order_date" - ], - "sourceColumnDataTypes": [ - "TIMESTAMP" + "sources": [ + { + "column": "order_date", + "dataType": "TIMESTAMP", + "target": { + "id": "order_date", + "type": "date" + } + } ] }, { @@ -384,11 +416,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "order__order_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "order__order_id", + "dataType": "STRING", + "target": { + "id": "order_id", + "type": "attribute" + } + } ] }, { @@ -397,304 +433,264 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "product__product_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "product__product_id", + "dataType": "STRING", + "target": { + "id": "product_id", + "type": "attribute" + } + } ] } ], "tags": [ "Order lines" ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__CLIENT_ID", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__client_id", - "filterColumnDataType": "STRING" - } - ], - "dataSourceTableId": { - "id": "order_lines", - "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", - "path": [ - "ECOMMERCE_DEMO_SCHEMA", - "order_lines" - ] - }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__client_id", - "dataType": "STRING" - } - ] + "title": "Order lines" }, { - "id": "orders", - "title": "Orders", - "description": "Orders", - "grain": [ - { - "id": "order_id", - "type": "attribute" - } - ], + "aggregatedFacts": [], "attributes": [ { - "id": "order_id", - "title": "Order id", "description": "Order id", + "id": "order_id", "labels": [], + "sourceColumn": "order_id", + "sourceColumnDataType": "STRING", "tags": [ "Orders" ], - "sourceColumn": "order_id", - "sourceColumnDataType": "STRING" + "title": "Order id" }, { - "id": "order_status", - "title": "Order status", "description": "Order status", + "id": "order_status", "labels": [], + "sourceColumn": "order_status", + "sourceColumnDataType": "STRING", "tags": [ "Orders" ], - "sourceColumn": "order_status", - "sourceColumnDataType": "STRING" - } - ], - "facts": [], - "references": [], - "tags": [ - "Orders" - ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__CLIENT_ID", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__client_id", - "filterColumnDataType": "STRING" + "title": "Order status" } ], "dataSourceTableId": { - "id": "orders", "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", + "id": "orders", "path": [ "ECOMMERCE_DEMO_SCHEMA", "orders" - ] + ], + "type": "dataSource" }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__client_id", - "dataType": "STRING" - } - ] - }, - { - "id": "product", - "title": "Product", - "description": "Product", + "description": "Orders", + "facts": [], "grain": [ { - "id": "product_id", + "id": "order_id", "type": "attribute" } ], + "id": "orders", + "references": [], + "tags": [ + "Orders" + ], + "title": "Orders" + }, + { + "aggregatedFacts": [], "attributes": [ { - "id": "product_brand", - "title": "Product brand", "description": "Product brand", + "id": "product_brand", "labels": [], + "sourceColumn": "product_brand", + "sourceColumnDataType": "STRING", "tags": [ "Product" ], - "sourceColumn": "product_brand", - "sourceColumnDataType": "STRING" + "title": "Product brand" }, { - "id": "product_category", - "title": "Product category", "description": "Product category", + "id": "product_category", "labels": [], + "sourceColumn": "product_category", + "sourceColumnDataType": "STRING", "tags": [ "Product" ], - "sourceColumn": "product_category", - "sourceColumnDataType": "STRING" + "title": "Product category" }, { - "id": "product_id", - "title": "Product id", "description": "Product id", + "id": "product_id", "labels": [ { - "id": "product_id_image_web", - "title": "Product id image web", "description": "Product id image web", + "id": "product_id_image_web", "sourceColumn": "ls__product_id__product_id_image_web", "sourceColumnDataType": "STRING", "tags": [ "Product" - ] + ], + "title": "Product id image web", + "valueType": "IMAGE" }, { - "id": "product_name", - "title": "Product name", "description": "Product name", + "id": "product_name", "sourceColumn": "ls__product_id__product_name", "sourceColumnDataType": "STRING", "tags": [ "Product" - ] + ], + "title": "Product name" } ], + "sourceColumn": "product_id", + "sourceColumnDataType": "STRING", "tags": [ "Product" ], - "sourceColumn": "product_id", - "sourceColumnDataType": "STRING" + "title": "Product id" }, { - "id": "product_image", - "title": "Product image", "description": "Product image", + "id": "product_image", "labels": [ { - "id": "product_image_web", - "title": "Product image web", "description": "Product image web", + "id": "product_image_web", "sourceColumn": "ls__product_image__product_image_web", "sourceColumnDataType": "STRING", "tags": [ "Product" - ] + ], + "title": "Product image web" } ], + "sourceColumn": "product_image", + "sourceColumnDataType": "STRING", "tags": [ "Product" ], - "sourceColumn": "product_image", - "sourceColumnDataType": "STRING" + "title": "Product image" }, { + "description": "Rating category or label for the product (dimension for filtering and grouping).", "id": "product_rating", - "title": "Product rating", - "description": "Product rating", "labels": [], + "sourceColumn": "product_rating", + "sourceColumnDataType": "STRING", "tags": [ "Product" ], - "sourceColumn": "product_rating", - "sourceColumnDataType": "STRING" + "title": "Product rating" } ], + "dataSourceTableId": { + "dataSourceId": "gdc_ds_ecommerce_demo", + "id": "product", + "path": [ + "ECOMMERCE_DEMO_SCHEMA", + "product" + ], + "type": "dataSource" + }, + "description": "Product", "facts": [ { - "id": "rating", - "title": "Rating", "description": "Rating", + "id": "rating", "sourceColumn": "rating", "sourceColumnDataType": "NUMERIC", "tags": [ "Product" - ] + ], + "title": "Rating" } ], + "grain": [ + { + "id": "product_id", + "type": "attribute" + } + ], + "id": "product", "references": [], "tags": [ "Product" ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__PRODUCT_CATEGORY", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__product_category", - "filterColumnDataType": "STRING" - } - ], - "dataSourceTableId": { - "id": "product", - "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", - "path": [ - "ECOMMERCE_DEMO_SCHEMA", - "product" - ] - }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__product_category", - "dataType": "STRING" - } - ] + "title": "Product" }, { - "id": "returns", - "title": "Returns", - "description": "Returns", - "grain": [ - { - "id": "return_id", - "type": "attribute" - } - ], + "aggregatedFacts": [], "attributes": [ { - "id": "return_id", - "title": "Return id", "description": "Return id", + "id": "return_id", "labels": [], + "sourceColumn": "return_id", + "sourceColumnDataType": "STRING", "tags": [ "Returns" ], - "sourceColumn": "return_id", - "sourceColumnDataType": "STRING" + "title": "Return id" } ], + "dataSourceTableId": { + "dataSourceId": "gdc_ds_ecommerce_demo", + "id": "returns", + "path": [ + "ECOMMERCE_DEMO_SCHEMA", + "returns" + ], + "type": "dataSource" + }, + "description": "Returns", "facts": [ { - "id": "return_unit_cost", - "title": "Return unit cost", "description": "Return unit cost", + "id": "return_unit_cost", "sourceColumn": "return_unit_cost", "sourceColumnDataType": "NUMERIC", "tags": [ "Returns" - ] + ], + "title": "Return unit cost" }, { - "id": "return_unit_paid_amount", - "title": "Return unit paid amount", "description": "Return unit paid amount", + "id": "return_unit_paid_amount", "sourceColumn": "return_unit_paid_amount", "sourceColumnDataType": "NUMERIC", "tags": [ "Returns" - ] + ], + "title": "Return unit paid amount" }, { - "id": "return_unit_quantity", - "title": "Return unit quantity", "description": "Return unit quantity", + "id": "return_unit_quantity", "sourceColumn": "return_unit_quantity", "sourceColumnDataType": "NUMERIC", "tags": [ "Returns" - ] + ], + "title": "Return unit quantity" } ], + "grain": [ + { + "id": "return_id", + "type": "attribute" + } + ], + "id": "returns", "references": [ { "identifier": { @@ -702,11 +698,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "customer__customer_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "customer__customer_id", + "dataType": "STRING", + "target": { + "id": "customer_id", + "type": "attribute" + } + } ] }, { @@ -715,11 +715,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "date" - ], - "sourceColumnDataTypes": [ - "TIMESTAMP" + "sources": [ + { + "column": "date", + "dataType": "TIMESTAMP", + "target": { + "id": "date", + "type": "date" + } + } ] }, { @@ -728,11 +732,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "order__order_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "order__order_id", + "dataType": "STRING", + "target": { + "id": "order_id", + "type": "attribute" + } + } ] }, { @@ -741,11 +749,15 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "product__product_id" - ], - "sourceColumnDataTypes": [ - "STRING" + "sources": [ + { + "column": "product__product_id", + "dataType": "STRING", + "target": { + "id": "product_id", + "type": "attribute" + } + } ] }, { @@ -754,49 +766,27 @@ "type": "dataset" }, "multivalue": false, - "sourceColumns": [ - "return_date" - ], - "sourceColumnDataTypes": [ - "TIMESTAMP" + "sources": [ + { + "column": "return_date", + "dataType": "TIMESTAMP", + "target": { + "id": "return_date", + "type": "date" + } + } ] } ], "tags": [ "Returns" ], - "workspaceDataFilterReferences": [ - { - "filterId": { - "id": "WDF__CLIENT_ID", - "type": "workspaceDataFilter" - }, - "filterColumn": "wdf__client_id", - "filterColumnDataType": "STRING" - } - ], - "dataSourceTableId": { - "id": "returns", - "dataSourceId": "gdc_ds_ecommerce_demo", - "type": "dataSource", - "path": [ - "ECOMMERCE_DEMO_SCHEMA", - "returns" - ] - }, - "workspaceDataFilterColumns": [ - { - "name": "wdf__client_id", - "dataType": "STRING" - } - ] + "title": "Returns" } ], "dateInstances": [ { - "id": "customer_created_date", - "title": "Customer created date", - "description": "", + "description": "Date dimension. Granularity attribute definitions:\nDay of Year = ordinal day in year, 1–366; Hour of Day = hour of day, 0–23;\nMinute of Hour = minute within hour, 0–59; Week/Year = week number in year;\nDay of Month = day of month, 1–31; Week of Year = week of year, 1–53.", "granularities": [ "MINUTE", "HOUR", @@ -818,14 +808,14 @@ "titleBase": "", "titlePattern": "%titleBase - %granularityTitle" }, + "id": "date", "tags": [ - "Customer created date" - ] + "Date" + ], + "title": "Date" }, { - "id": "date", - "title": "Date", - "description": "", + "description": "Inventory month dimension. Granularity attribute definitions:\nDay of Year = ordinal day in year, 1–366; Hour of Day = hour of day, 0–23;\nMinute of Hour = minute within hour, 0–59; Week/Year = week number in year;\nDay of Month = day of month, 1–31; Week of Year = week of year, 1–53.", "granularities": [ "MINUTE", "HOUR", @@ -847,14 +837,14 @@ "titleBase": "", "titlePattern": "%titleBase - %granularityTitle" }, + "id": "inventory_month", "tags": [ - "Date" - ] + "Inventory month" + ], + "title": "Inventory month" }, { - "id": "inventory_month", - "title": "Inventory month", - "description": "", + "description": "Order date dimension. Granularity attribute definitions:\nDay of Year = ordinal day in year, 1–366; Hour of Day = hour of day, 0–23; Minute of Hour = minute within hour, 0–59; Week/Year = week number in year;\nDay of Month = day of month, 1–31; Week of Year = week of year, 1–53.", "granularities": [ "MINUTE", "HOUR", @@ -876,14 +866,14 @@ "titleBase": "", "titlePattern": "%titleBase - %granularityTitle" }, + "id": "order_date", "tags": [ - "Inventory month" - ] + "Order date" + ], + "title": "Order date" }, { - "id": "order_date", - "title": "Order date", - "description": "", + "description": "Return date dimension. Granularity attribute definitions:\nInventory month dimension. Granularity attribute definitions:\nDay of Year = ordinal day in year, 1–366; Hour of Day = hour of day, 0–23;\nMinute of Hour = minute within hour, 0–59; Week/Year = week number in year;\nDay of Month = day of month, 1–31; Week of Year = week of year, 1–53.", "granularities": [ "MINUTE", "HOUR", @@ -905,142 +895,31 @@ "titleBase": "", "titlePattern": "%titleBase - %granularityTitle" }, + "id": "return_date", "tags": [ - "Order date" - ] + "Return date" + ], + "title": "Return date" }, { - "id": "return_date", - "title": "Return date", - "description": "", + "description": "User created date dimension. Granularity attribute definitions:\nDay of Year = ordinal day in year, 1–366; Hour of Day = hour of day, 0–23;\nMinute of Hour = minute within hour, 0–59; Week/Year = week number in year;\nDay of Month = day of month, 1–31; Week of Year = week of year, 1–53..", "granularities": [ - "MINUTE", - "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", - "YEAR", - "MINUTE_OF_HOUR", - "HOUR_OF_DAY", - "DAY_OF_WEEK", - "DAY_OF_MONTH", - "DAY_OF_YEAR", - "WEEK_OF_YEAR", - "MONTH_OF_YEAR", - "QUARTER_OF_YEAR" + "YEAR" ], "granularitiesFormatting": { "titleBase": "", "titlePattern": "%titleBase - %granularityTitle" }, + "id": "user_created_date", "tags": [ - "Return date" - ] - } - ] - }, - "layout": { - "objects": [ - { - "identifier": { - "id": "customer", - "type": "dataset" - }, - "collapse": false, - "x": 844, - "y": 310.5 - }, - { - "identifier": { - "id": "monthlyinventory", - "type": "dataset" - }, - "collapse": false, - "x": 1344, - "y": 1627 - }, - { - "identifier": { - "id": "order_lines", - "type": "dataset" - }, - "collapse": false, - "x": 1344, - "y": 206.5 - }, - { - "identifier": { - "id": "orders", - "type": "dataset" - }, - "collapse": false, - "x": 844, - "y": 637.5 - }, - { - "identifier": { - "id": "product", - "type": "dataset" - }, - "collapse": false, - "x": 844, - "y": 1220 - }, - { - "identifier": { - "id": "returns", - "type": "dataset" - }, - "collapse": false, - "x": 1344, - "y": 868 - }, - { - "identifier": { - "id": "customer_created_date", - "type": "templateDataset" - }, - "collapse": true, - "x": 366.5, - "y": 310.5 - }, - { - "identifier": { - "id": "date", - "type": "templateDataset" - }, - "collapse": true, - "x": 844, - "y": 847.5 - }, - { - "identifier": { - "id": "inventory_month", - "type": "templateDataset" - }, - "collapse": true, - "x": 844, - "y": 1627 - }, - { - "identifier": { - "id": "order_date", - "type": "templateDataset" - }, - "collapse": true, - "x": 844, - "y": 48.5 - }, - { - "identifier": { - "id": "return_date", - "type": "templateDataset" - }, - "collapse": true, - "x": 844, - "y": 1482 + "Date" + ], + "title": "User created date" } ] } -} +} \ No newline at end of file diff --git a/ecommerce-demo/workspaces/demo/workspaceAnalytics.json b/ecommerce-demo/workspaces/demo/workspaceAnalytics.json index f21cfab..904f287 100644 --- a/ecommerce-demo/workspaces/demo/workspaceAnalytics.json +++ b/ecommerce-demo/workspaces/demo/workspaceAnalytics.json @@ -4,12 +4,7 @@ "analyticalDashboards": [ { "content": { - "filterContextRef": { - "identifier": { - "id": "092929af-375a-4e9c-964f-2add8cdbd259_filterContext", - "type": "filterContext" - } - }, + "version": "2", "layout": { "type": "IDashboardLayout", "sections": [ @@ -21,19 +16,20 @@ "size": { "xl": { "gridWidth": 3, - "gridHeight": 10 + "gridHeight": 11 } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_customers_multiple_orders", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "type": "visualizationObject", + "id": "customers_with_multiple_orders" } }, - "properties": {}, - "localIdentifier": "fd94b522-a6c3-4f4d-86b9-b9f06c5607f4", + "title": "Customers with Multiple Orders", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -42,35 +38,34 @@ "visible": true } }, - "title": "Net Sales", + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, "drills": [ { "type": "drillToInsight", "transition": "pop-up", "target": { "identifier": { - "id": "469e8936-ca67-4987-8c70-0e35be24be4d", - "type": "visualizationObject" + "type": "visualizationObject", + "id": "order_details" } }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + "localIdentifier": "d5c013a351ca42318c1d9d81a81d32ff" } - }, - "localIdentifier": "fea8cd4d819b4b3e9ea4d0302b8eee9f" + } } ], - "insight": { - "identifier": { - "id": "700d732d-67e1-4658-a6e0-c6b8edbb6d49", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { @@ -82,15 +77,16 @@ } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_returning_customers", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "type": "visualizationObject", + "id": "returning_customers" } }, - "properties": {}, - "localIdentifier": "d60b4b5c-11a4-4339-9f52-2338a0ee0609", + "title": "Returning Customers", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -99,668 +95,545 @@ "visible": true } }, - "title": "Orders", + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, "drills": [ { - "localIdentifier": "eab0ede59d2748e9a19b061e08277441", + "type": "drillToInsight", "transition": "pop-up", + "target": { + "identifier": { + "type": "visualizationObject", + "id": "customer_activity_over_time" + } + }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "eb334cab51954b9f83184eead11308bc" - } - }, - "type": "drillToInsight", - "target": { - "identifier": { - "id": "bb5c2581-2da9-49b8-b430-b9c2371c79ff", - "type": "visualizationObject" + "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3" } } } ], - "insight": { - "identifier": { - "id": "3ac5e106-b43e-4c87-9ef0-9315e02282bd", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, "widget": { + "localIdentifier": "widget_avg_sales_per_customer", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "average_sales_per_customer" + } + }, + "title": "Average Sales per Customer", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "properties": {}, - "localIdentifier": "3dbd16df-d1e4-45fa-acaa-120b63a2058f", - "title": "Active Customers", "drills": [ { - "localIdentifier": "dbfe4e288473406fb8827595945267a8", - "transition": "pop-up", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" - } - }, "type": "drillToInsight", + "transition": "pop-up", "target": { "identifier": { - "id": "3895bb55-4ddf-4d7e-96ed-7178009fd34e", - "type": "visualizationObject" + "type": "visualizationObject", + "id": "customer_orders_and_sales_details" } - } - }, - { - "localIdentifier": "dc72930f4f764a688b574cf58613b9d6", - "transition": "in-place", + }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" - } - }, - "type": "drillToDashboard", - "target": { - "identifier": { - "id": "12fa0ef2-676b-41fb-bb91-9e1936097461", - "type": "analyticalDashboard" + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" } } } ], - "insight": { - "identifier": { - "id": "a347814a-a893-4354-915d-29699b92a6d7", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridHeight": 11, - "gridWidth": 3 - } + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, "widget": { + "localIdentifier": "widget_customer_retention_rate", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "customer_retention_rate" + } + }, + "title": "Customer Retention Rate", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "properties": {}, - "localIdentifier": "a4297316-658c-430a-9d31-97165cba03a5", - "title": "Gross Profit", "drills": [ { - "localIdentifier": "0786d2cf66e949e1813440ae9a6d19d6", - "transition": "pop-up", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" - } - }, "type": "drillToInsight", + "transition": "pop-up", "target": { "identifier": { - "id": "9570eab0-b451-48be-9e24-3c106fe898a2", - "type": "visualizationObject" + "type": "visualizationObject", + "id": "customer_retention_rate_forecast" } - } - }, - { - "localIdentifier": "02194ba5f35a40d3b9dea405df33d579", - "transition": "in-place", + }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" - } - }, - "type": "drillToDashboard", - "target": { - "identifier": { - "id": "bf439696-d6c6-4d41-a102-dd98e2f3da35", - "type": "analyticalDashboard" + "localIdentifier": "0b28ab87a0b947ba840501b2874dbde4" } } } ], - "insight": { - "identifier": { - "id": "b666412b-3c13-4e80-9b3f-7787558aa3ce", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } - ], - "header": { - "description": "Highlighting overall business performance compared to the previous period.", - "title": "Main KPIs Overview" - } + ] }, { "type": "IDashboardLayoutSection", "header": { - "description": "High-level view of where orders originate, how sales and order volumes evolve over time, and the performance of customer segments and fulfillment stages.", - "title": "Customer and Sales Insights" + "title": "Customer Breakdown", + "description": "Visualize where customers are located and how their orders and product preferences vary by region." }, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 39, - "gridWidth": 6 + "gridWidth": 6, + "gridHeight": 34 + } + }, + "widget": { + "localIdentifier": "widget_customers_location_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_customers_by_country_state_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "customers_by_country_and_state" + } + }, + "title": "Customers by Country and State", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_orders_by_location_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "orders_by_location_area_map" + } + }, + "title": "Orders by Location (Area map)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 34 } }, "widget": { + "localIdentifier": "container_customer_breakdown", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": {}, "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 16 + } + }, "widget": { - "dateDataSet": { + "localIdentifier": "widget_top_5_states", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "visualizationObject", + "id": "top_5_states_by_number_of_orders" } }, - "properties": {}, - "localIdentifier": "11a2e228-1847-4387-8984-be1da1adfd70", - "title": "Active Customers by Country", - "drills": [], - "insight": { - "identifier": { - "id": "03c5c0f3-f513-4444-b2b4-267236d88ca1", - "type": "visualizationObject" + "title": "Top 5 States by Number of Orders", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, "ignoreDashboardFilters": [], - "type": "insight", - "ignoreCrossFiltering": true, - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 10 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 28 - } - }, - "widget": { - "visualizations": [ - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "localIdentifier": "dff06c3c-54d2-492a-92fb-84b556f4b023", - "title": "Active Customers by Location", - "drills": [ - { - "localIdentifier": "eeb7cf9050d946278c216043a9db0cb7", - "transition": "in-place", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "42e90cf4e6574301ac06d8cb16615b76" - } - }, - "type": "drillToDashboard", - "target": { - "identifier": { - "id": "12fa0ef2-676b-41fb-bb91-9e1936097461", - "type": "analyticalDashboard" - } - } - }, - { - "localIdentifier": "0971d1f481bb4128965f0c02518982c3", - "transition": "pop-up", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "42e90cf4e6574301ac06d8cb16615b76" - } - }, - "type": "drillToInsight", - "target": { - "identifier": { - "id": "12b824f3-c529-4f2b-97ea-be2a09537768", - "type": "visualizationObject" - } - } - } - ], - "insight": { - "identifier": { - "id": "3895bb55-4ddf-4d7e-96ed-7178009fd34e", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "2888f9c4-6ca4-414e-b33c-2f6240f4f3ed", - "title": "Active Customers & Placed Orders by Location", - "drills": [], - "insight": { - "identifier": { - "id": "12b824f3-c529-4f2b-97ea-be2a09537768", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - ], - "localIdentifier": "7eb41a28-7db1-4311-91f5-dee0c096d404", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } - } - ] - } - ], - "configuration": { - "direction": "column", - "sections": { - "enableHeader": false - } - }, - "localIdentifier": "dca05a3c-6de1-448a-8484-238153dad4cf" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 39, - "gridWidth": 6 - } - }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "header": {}, - "items": [ - { - "type": "IDashboardLayoutItem", - "widget": { "dateDataSet": { "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true + "type": "dataset", + "id": "date" } }, - "localIdentifier": "f7558cb4-1259-4328-b9cf-92376f1c9398", - "title": "From Search to Sale: Active Customers vs. Orders Placed", + "properties": {}, "drills": [], - "insight": { - "identifier": { - "id": "0b245f1d-aad7-4089-aaf4-a15e25695e7c", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 18 - } + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [], + "ignoreCrossFiltering": true } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 20, - "gridWidth": 6 + "gridWidth": 6, + "gridHeight": 18 } }, "widget": { + "localIdentifier": "container_product_preferences", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": {}, "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 18 + } + }, "widget": { - "dateDataSet": { + "localIdentifier": "widget_product_preferences", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "visualizationObject", + "id": "product_preferences_by_customers" } }, - "properties": {}, - "localIdentifier": "f3e11713-d563-4e43-8cfd-315e2d7be567", - "title": "Net Sales Share by Top 5 City", - "drills": [], - "insight": { - "identifier": { - "id": "ea6f316e-2d64-489f-8b37-2f031e8bbbbf", - "type": "visualizationObject" + "title": "Product Preferences by Customers", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, "ignoreDashboardFilters": [], - "type": "insight", - "ignoreCrossFiltering": false, - "description": "" - }, - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 20 - } - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { "dateDataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "properties": {}, - "localIdentifier": "5168c237-721c-4bc8-8c40-fa88fdaffbb4", - "title": "Customer Breakdown", "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 18 + } + }, + "widget": { + "localIdentifier": "widget_orders_by_category", + "type": "insight", "insight": { "identifier": { - "id": "7de6202d-2e52-4bed-9e80-6c3ce8cedaaa", - "type": "visualizationObject" + "type": "visualizationObject", + "id": "orders_by_product_category" + } + }, + "title": "Orders by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 20 - } + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } ] } ], "configuration": { - "direction": "row", "sections": { "enableHeader": false - } - }, - "localIdentifier": "046a17c3-80cd-4d15-841e-158aab7616a4" + }, + "direction": "row" + } } } ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": false - } - }, - "localIdentifier": "742e8402-6964-4c87-843a-e86dcaf39d84" + }, + "direction": "column" + } } } ] }, { "type": "IDashboardLayoutSection", + "header": { + "title": "Customer Retention Trends", + "description": "Tracks customer mix over time, showing how many are first-time buyers versus repeat customers." + }, "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 20 + } + }, "widget": { - "dateDataSet": { + "localIdentifier": "widget_customers_breakdown", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "visualizationObject", + "id": "customers_breakdown" } }, - "properties": {}, - "localIdentifier": "e0504bf7-bbd4-491c-aab6-8a206f611456", - "title": "Order Fulfillment Funnel", - "drills": [], - "insight": { - "identifier": { - "id": "b742a152-cf65-436b-bcdf-4e56ec594841", - "type": "visualizationObject" + "title": "Customers Breakdown", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 17 - } - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { "dateDataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "properties": { - "controls": { - "zoomInsight": true - } - }, - "localIdentifier": "a36bd3aa-f915-404a-8393-47d2edab3449", - "title": "Revenue Trend Over Time", + "properties": {}, "drills": [], - "insight": { - "identifier": { - "id": "3e16ebe3-7753-40c6-abc1-f549e7bf4d6c", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "", - "ignoredDrillDownHierarchies": [ - { - "type": "attributeHierarchyReference", - "attributeHierarchy": "72a9b29c-d982-4a9d-b226-ebcd060801dc", - "attribute": { - "identifier": { - "id": "date.day", - "type": "attribute" - } - } - } - ], + "ignoredDrillDownHierarchies": [], "drillDownIntersectionIgnoredAttributes": [] - }, + } + }, + { + "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 9, + "gridWidth": 8, "gridHeight": 20 } - } - } - ], - "header": { - "description": "Shows the order fulfillment flow and revenue trends over time.", - "title": "Orders Breakdown" - } - }, - { - "type": "IDashboardLayoutSection", - "header": {}, - "items": [ - { - "type": "IDashboardLayoutItem", + }, "widget": { - "dateDataSet": { + "localIdentifier": "widget_customer_activity_over_time", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true + "type": "visualizationObject", + "id": "customer_activity_over_time" } }, - "localIdentifier": "6d26cca6-200e-4b02-a6d1-cb450da9c62a", - "title": "Brand Performance Segments: Sales vs. Orders", - "drills": [], - "insight": { - "identifier": { - "id": "2486eb48-0d07-46e6-bc41-0e5ff102dcc8", - "type": "visualizationObject" + "title": "Customer Activity Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 7, - "gridHeight": 20 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 20, - "gridWidth": 5 - } - }, - "widget": { "dateDataSet": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "dataset", + "id": "date" + } + }, + "properties": { + "controls": { + "zoomInsight": true } }, - "localIdentifier": "60001fe2-4eee-45e5-9019-496b952ae168", - "title": "", "drills": [], - "content": "### Brand Breakdown ###\n---\n\n**⚫ Leaders**\n\n>> Brands with outstanding sales and order volumes — clear market leaders.\n---\n**\uD83D\uDD35 Challengers**\n\n>> Brands with solid sales and orders, showing strong momentum and potential to move into leadership.\n---\n**\uD83D\uDFE3 Emerging Players**\n\n>> Brands with moderate performance, steadily growing but not yet top-tier.\n---\n**\uD83D\uDFE2 Niche Brands**\n\n>> Brands with relatively low sales and order counts, often focused on specific audiences or product niches.", - "ignoreDashboardFilters": [], - "type": "richText", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } ] }, { "type": "IDashboardLayoutSection", - "header": {}, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 47, - "gridWidth": 4 + "gridWidth": 6, + "gridHeight": 45 } }, "widget": { + "localIdentifier": "container_customer_preferences", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": { + "title": "Customer Preferences", + "description": "Analyze customer behavior by segment, comparing lifetime value and purchase frequency to identify loyal, high-value, and growth customers." + }, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 4, - "gridHeight": 20 + "gridWidth": 6, + "gridHeight": 21 } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_customer_lifetime_value", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "visualizationObject", + "id": "customer_lifetime_value_clv_vs_purchase" } }, - "properties": {}, - "localIdentifier": "c72a7b47-1596-4d61-bcd7-8c8e6f71dfcb", + "title": "Customer Lifetime Value (CLV) vs. Purchase Frequency", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -769,55 +642,38 @@ "visible": true } }, - "title": "Product Category Rating", - "drills": [ - { - "type": "drillToDashboard", - "transition": "in-place", - "target": { - "identifier": { - "id": "c1d67cd4-94ad-40aa-91a5-cdf4143f778a", - "type": "analyticalDashboard" - } - }, - "origin": { - "type": "drillFromAttribute", - "attribute": { - "localIdentifier": "bdfd0781ec444582a8fe10ce3414b097" - } - }, - "localIdentifier": "573562cbf06841e595ca0fdb649e01e3" - } - ], - "insight": { + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "b0c48f40-b8e0-4434-9258-bbd261d6bd34", - "type": "visualizationObject" + "type": "dataset", + "id": "date" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 4, + "gridWidth": 6, "gridHeight": 22 } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_customer_activity_by_hour", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "type": "visualizationObject", + "id": "customer_activity_by_hour" } }, - "properties": {}, - "localIdentifier": "4fbbb1e3-6fd6-4d61-97e5-7711077db898", + "title": "Customer Activity by Hour", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -826,187 +682,251 @@ "visible": true } }, - "title": "Net Sales by Product Category", - "drills": [ - { - "type": "drillToDashboard", - "transition": "in-place", - "target": { - "identifier": { - "id": "c1d67cd4-94ad-40aa-91a5-cdf4143f778a", - "type": "analyticalDashboard" - } - }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "100691d163aa4d53be0fc7e1a048190b" - } - }, - "localIdentifier": "10266b0360564487a5d40c16f6c4c943" - } - ], - "insight": { + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "e32644ad-1921-4b89-a7d2-79f31826e5cf", - "type": "visualizationObject" + "type": "dataset", + "id": "date" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } - ], - "header": { - "description": "What are the most popular product categories?", - "title": "Product Category Breakdown" - } + ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": true - } - }, - "localIdentifier": "0810b0d6-518a-4465-a39c-a5c8df9849ba" + }, + "direction": "column" + } } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 47, - "gridWidth": 8 + "gridWidth": 6, + "gridHeight": 45 } }, "widget": { + "localIdentifier": "container_customer_revenue_rankings", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": { + "title": "Customer Revenue Rankings", + "description": "Ranks customers by revenue contribution." + }, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 8, - "gridHeight": 20 + "gridWidth": 6, + "gridHeight": 22 } }, "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true - } - }, - "localIdentifier": "d8871c6a-58e1-4d0b-bf20-f216f5ec2ba6", - "configuration": { - "hideTitle": false - }, - "title": "Best-selling Product Brands", - "drills": [], - "insight": { - "identifier": { - "id": "c4acd66e-db92-4e9b-8146-be79fcd50869", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "02bc1a70-fa19-40aa-a06c-30835ab91028", - "title": "Product Details", - "drills": [ + "localIdentifier": "widget_top_bottom_customers_tabs", + "type": "visualizationSwitcher", + "visualizations": [ { - "localIdentifier": "27fb6f3c455a45d5ae3b5a2edc05702a", - "transition": "in-place", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d" + "localIdentifier": "widget_top_10_customers_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "top_10_customers_by_revenue" } }, - "type": "drillToDashboard", - "target": { + "title": "Top 10 Customers by Revenue", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "bf439696-d6c6-4d41-a102-dd98e2f3da35", - "type": "analyticalDashboard" + "type": "dataset", + "id": "date" } - } - } - ], - "insight": { - "identifier": { - "id": "1072a9a6-bd90-4af9-ae0f-cd3d41a8db78", - "type": "visualizationObject" + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_top_10_details_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "top_10_customers_by_revenue_details" + } + }, + "title": "Top 10 Customers by Revenue (Details)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + }, + { + "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 8, + "gridWidth": 6, "gridHeight": 22 } + }, + "widget": { + "localIdentifier": "widget_bottom_10_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_bottom_10_details_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "bottom_10_customers_by_revenue_details" + } + }, + "title": "Bottom 10 Customers by Revenue (Details)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_bottom_10_revenue_tab", + "type": "insight", + "insight": { + "identifier": { + "type": "visualizationObject", + "id": "bottom_10_customers_by_revenue" + } + }, + "title": "Bottom 10 Customers by Revenue", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] } } - ], - "header": { - "description": "Which products are the best-selling ones?", - "title": "Product Breakdown" - } + ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": true - } - }, - "localIdentifier": "ee22f9a5-32f9-4f25-a771-c0ee99370877" + }, + "direction": "column" + } } } ] } ] }, - "version": "2" + "disableCrossFiltering": true, + "filterContextRef": { + "identifier": { + "type": "filterContext", + "id": "customers_filterContext" + } + } }, - "description": "", - "id": "092929af-375a-4e9c-964f-2add8cdbd259", - "title": "1. Overview" + "description": "Dashboard focused on customer analytics, including repeat versus one-time customers, returning customers, average sales per customer, and retention rate. Provides breakdown by country and state, location maps, top and bottom customers by revenue, customer lifetime value (CLV) versus purchase frequency, and activity by hour. Suitable for customers overview, customer analytics, and customer insights.", + "id": "customers", + "permissions": [ + { + "assigneeRule": { + "type": "allWorkspaceUsers" + }, + "name": "VIEW" + } + ], + "title": "3. Customers" }, { "content": { - "dateFilterConfig": { - "mode": "active", - "filterName": "" - }, "filterContextRef": { "identifier": { - "id": "12fa0ef2-676b-41fb-bb91-9e1936097461_filterContext", + "id": "overview_tab_filterContext", "type": "filterContext" } }, @@ -1015,6 +935,10 @@ "sections": [ { "type": "IDashboardLayoutSection", + "header": { + "title": "Main KPIs Overview", + "description": "Highlighting overall business performance compared to the previous period." + }, "items": [ { "type": "IDashboardLayoutItem", @@ -1025,15 +949,16 @@ } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_net_sales", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "id": "net_sales_headline", + "type": "visualizationObject" } }, - "properties": {}, - "localIdentifier": "f122bbd8-9fe8-4a82-870f-9bbd015687f4", + "title": "Net Sales", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -1042,35 +967,35 @@ "visible": true } }, - "title": "New Customers", + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, "drills": [ { "type": "drillToInsight", "transition": "pop-up", "target": { "identifier": { - "id": "543cadbb-10b4-4153-b810-52586df7aa0e", + "id": "sales_details", "type": "visualizationObject" } }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" } }, - "localIdentifier": "3c7dbe5fbf8a426690378928b948363d" + "localIdentifier": "d7169097e9d1491495ab904ec0ec76a8" } ], - "insight": { - "identifier": { - "id": "a347814a-a893-4354-915d-29699b92a6d7", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { @@ -1082,15 +1007,16 @@ } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_orders", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "id": "orders_processed_headline", + "type": "visualizationObject" } }, - "properties": {}, - "localIdentifier": "beefc205-3cfd-4e79-8985-222d910bde07", + "title": "Orders", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -1099,35 +1025,35 @@ "visible": true } }, - "title": "Returning Customers", + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, "drills": [ { - "localIdentifier": "5bed1be708364ff9bf529a836597b9db", + "type": "drillToInsight", "transition": "pop-up", + "target": { + "identifier": { + "id": "completed_vs_canceled_orders_trend", + "type": "visualizationObject" + } + }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3" + "localIdentifier": "eb334cab51954b9f83184eead11308bc" } }, - "type": "drillToInsight", - "target": { - "identifier": { - "id": "48000537-4586-4a1e-a9a5-8eda7f8151a8", - "type": "visualizationObject" - } - } + "localIdentifier": "5477f9944cd4492ab1950c2dac4893e6" } ], - "insight": { - "identifier": { - "id": "4cea4177-37c5-4196-8aab-c6bf60dc1f22", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { @@ -1135,19 +1061,20 @@ "size": { "xl": { "gridWidth": 3, - "gridHeight": 10 + "gridHeight": 11 } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_active_customers", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "id": "active_customers_headline", + "type": "visualizationObject" } }, - "properties": {}, - "localIdentifier": "dbaf3085-80fe-4cff-8b45-aa58e2252208", + "title": "Active Customers", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -1156,40 +1083,82 @@ "visible": true } }, - "title": "Average Sales per Customer", + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, "drills": [ { "type": "drillToInsight", "transition": "pop-up", "target": { "identifier": { - "id": "543cadbb-10b4-4153-b810-52586df7aa0e", + "id": "active_customers_by_location_geo", "type": "visualizationObject" } }, "origin": { "type": "drillFromMeasure", "measure": { - "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" + } + }, + "localIdentifier": "634dd62efe0841b1b3313b5db4f3d961" + }, + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "customers", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" } }, - "localIdentifier": "3fffbf0d366e4ad0a5dbd03910f35a5b" + "localIdentifier": "2763b8e272314cec82c7e550cc3604fb" } ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_gross_profit", + "type": "insight", "insight": { "identifier": { - "id": "0c7ac154-1766-4d54-ba2b-b6f6913a59dd", + "id": "gross_profit_headline", "type": "visualizationObject" } }, + "title": "Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { "dateDataSet": { "identifier": { "id": "date", @@ -1197,24 +1166,44 @@ } }, "properties": {}, - "localIdentifier": "541ae913-1b2f-4904-b7fc-a059ae4666ce", - "title": "Customer Retention Rate", - "drills": [], - "insight": { - "identifier": { - "id": "8a4f1df3-ca83-4e40-aad3-63b72bbfaa77", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridHeight": 11, - "gridWidth": 3 - } + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "gross_profit_trend", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "6b869cd55eb6408ab68ca156380cdc6c" + }, + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "sales", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "d8ce421d1c8847c290747a224d67547e" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } ] @@ -1222,37 +1211,187 @@ { "type": "IDashboardLayoutSection", "header": { - "description": "Visualize where customers are located and how their orders and product preferences vary by region.", - "title": "Customer Breakdown" + "title": "Customer and Sales Insights", + "description": "High-level view of where orders originate, how sales and order volumes evolve over time, and the performance of customer segments and fulfillment stages." }, "items": [ { "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "3ad7cfc0-8f0e-4132-85a6-fc2d0c79bcc8", - "title": "Customers by Country and State", - "drills": [], - "insight": { - "identifier": { - "id": "2f12ace7-e626-47f1-953d-5ae957ca108e", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, "size": { "xl": { - "gridHeight": 34, - "gridWidth": 6 + "gridWidth": 6, + "gridHeight": 39 + } + }, + "widget": { + "localIdentifier": "container_customer_sales_insights", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_active_customers_by_country", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_by_country", + "type": "visualizationObject" + } + }, + "title": "Active Customers by Country", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [], + "ignoreCrossFiltering": true + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 28 + } + }, + "widget": { + "localIdentifier": "widget_location_maps", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_active_customers_by_location", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_by_location_cities", + "type": "visualizationObject" + } + }, + "title": "Active Customers by Location", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_orders_by_location", + "type": "insight", + "insight": { + "identifier": { + "id": "orders_by_location_area_map", + "type": "visualizationObject" + } + }, + "title": "Orders by Location (Area map)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_active_customers_orders_location", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_and_orders_by_location", + "type": "visualizationObject" + } + }, + "title": "Active Customers & Placed Orders by Location", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "user_created_date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" } } }, @@ -1260,11 +1399,12 @@ "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 35, - "gridWidth": 6 + "gridWidth": 6, + "gridHeight": 39 } }, "widget": { + "localIdentifier": "container_search_to_sale", "type": "IDashboardLayout", "sections": [ { @@ -1273,134 +1413,164 @@ "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 18 + } + }, "widget": { + "localIdentifier": "widget_from_search_to_sale", + "type": "insight", + "insight": { + "identifier": { + "id": "from_search_to_sale_active_customers_vs_orders", + "type": "visualizationObject" + } + }, + "title": "From Search to Sale: Active Customers vs. Orders Placed", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, - "properties": {}, - "localIdentifier": "e7291a44-15e1-4a28-9083-220dc1cd7c2e", - "title": "Top 5 States by Number of Orders", - "drills": [], - "insight": { - "identifier": { - "id": "0becb676-5ad6-4d6e-bac4-391536bc7a13", - "type": "visualizationObject" + "properties": { + "controls": { + "zoomInsight": true } }, - "ignoreDashboardFilters": [], - "type": "insight", - "ignoreCrossFiltering": true, - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 18 - } + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 18, - "gridWidth": 6 + "gridWidth": 6, + "gridHeight": 20 } }, "widget": { + "localIdentifier": "container_net_sales_customer_breakdown", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": {}, "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 20 + } + }, "widget": { + "localIdentifier": "widget_net_sales_share_top_5_city", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_share_by_top_5_city", + "type": "visualizationObject" + } + }, + "title": "Net Sales Share by Top 5 City", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, "properties": {}, - "localIdentifier": "147820ab-d22b-4798-9de0-3aaff59e17c8", - "title": "Product Preferences by Customers", "drills": [], - "insight": { - "identifier": { - "id": "11dabf39-fcbd-4429-8eee-50bd56da5d8b", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 16 - } + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 17, - "gridWidth": 3 + "gridWidth": 3, + "gridHeight": 20 } }, "widget": { - "dateDataSet": { + "localIdentifier": "widget_customer_breakdown", + "type": "insight", + "insight": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "id": "customers_breakdown", + "type": "visualizationObject" } }, - "properties": {}, - "localIdentifier": "c8c34500-bd53-436b-9b48-368c1af7a6f3", + "title": "Customer Breakdown", + "description": "", "configuration": { - "hideTitle": false + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } }, - "title": "Orders by Product Category", - "drills": [], - "insight": { + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "a63c7679-e577-4e40-9b17-0628eb6ed7e1", - "type": "visualizationObject" + "id": "date", + "type": "dataset" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } ] } ], "configuration": { - "direction": "row", "sections": { "enableHeader": false - } - }, - "localIdentifier": "78f894f9-d31d-4f99-9d92-d7ac8c9edbd0" + }, + "direction": "row" + } } } ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": false - } - }, - "localIdentifier": "23cfc8b5-2cdd-4c4a-a475-56efad5f144e" + }, + "direction": "column" + } } } ] @@ -1408,28 +1578,29 @@ { "type": "IDashboardLayoutSection", "header": { - "description": "Tracks customer mix over time, showing how many are first-time buyers versus repeat customers.", - "title": "Customer Retention Trends" + "title": "Orders Breakdown", + "description": "Shows the order fulfillment flow and revenue trends over time." }, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 4, - "gridHeight": 20 + "gridWidth": 3, + "gridHeight": 17 } }, "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { + "localIdentifier": "widget_order_fulfillment_funnel", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" + "id": "order_fulfillment_funnel", + "type": "visualizationObject" } }, - "properties": {}, - "localIdentifier": "85ea38f2-da26-4c93-95c5-15868c7a9293", + "title": "Order Fulfillment Funnel", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -1438,28 +1609,59 @@ "visible": true } }, - "title": "Customers Breakdown", - "drills": [], - "insight": { + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "7de6202d-2e52-4bed-9e80-6c3ce8cedaaa", - "type": "visualizationObject" + "id": "date", + "type": "dataset" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 8, + "gridWidth": 9, "gridHeight": 20 } }, "widget": { + "localIdentifier": "widget_revenue_trend", + "type": "insight", + "insight": { + "identifier": { + "id": "revenue_trend_over_time", + "type": "visualizationObject" + } + }, + "title": "Revenue Trend Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], "ignoredDrillDownHierarchies": [ { "type": "attributeHierarchyReference", @@ -1472,18 +1674,33 @@ } } ], - "dateDataSet": { + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_brand_performance", + "type": "insight", + "insight": { "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true + "id": "brand_performance_segments_sales_vs_orders", + "type": "visualizationObject" } }, - "localIdentifier": "fc5d9a90-4b37-4070-bb6f-e8652854ac85", + "title": "Brand Performance Segments: Sales vs. Orders", + "description": "", "configuration": { "hideTitle": false, "description": { @@ -1492,43 +1709,93 @@ "visible": true } }, - "title": "New vs. Returning Customers", - "drills": [], - "insight": { + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "48000537-4586-4a1e-a9a5-8eda7f8151a8", - "type": "visualizationObject" + "id": "date", + "type": "dataset" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "", + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [], "drillDownIntersectionIgnoredAttributes": [] } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_brand_breakdown_content", + "type": "richText", + "content": "### Brand Breakdown ###\n---\n\n**\uD83D\uDFE2 Leaders**\n\n>> Brands with outstanding sales and order volumes — clear market leaders.\n---\n**⚫ Challengers**\n\n>> Brands with solid sales and orders, showing strong momentum and potential to move into leadership.\n---\n**⚪ Emerging Players**\n\n>> Brands with moderate performance, steadily growing but not yet top-tier.\n---\n**\uD83D\uDD35 Niche Brands**\n\n>> Brands with relatively low sales and order counts, often focused on specific audiences or product niches.", + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } } ] }, { "type": "IDashboardLayoutSection", - "header": {}, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 45, - "gridWidth": 6 + "gridWidth": 4, + "gridHeight": 47 } }, "widget": { + "localIdentifier": "container_product_category_breakdown", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", + "header": { + "title": "Product Category Breakdown", + "description": "Surfaces the most popular product categories by order volume and net sales, enabling comparison of category performance and identification of leading categories." + }, "items": [ { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 20 + } + }, "widget": { + "localIdentifier": "widget_order_volume_category_rating", + "type": "insight", + "insight": { + "identifier": { + "id": "order_value_by_category_and_customer_rating", + "type": "visualizationObject" + } + }, + "title": "Order Volume by Category and Rating", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", @@ -1536,29 +1803,57 @@ } }, "properties": {}, - "localIdentifier": "0eb2978c-3ec0-4786-a8c8-e5b3cb752186", - "title": "Customer Lifetime Value (CLV) vs. Purchase Frequency", - "drills": [], - "insight": { - "identifier": { - "id": "6c1de2b0-0165-4b3f-8b2b-9122f8f24393", - "type": "visualizationObject" + "drills": [ + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "products", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromAttribute", + "attribute": { + "localIdentifier": "bdfd0781ec444582a8fe10ce3414b097" + } + }, + "localIdentifier": "1e344c8e99304f0eb94ca3fa3486203e" } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 21 - } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, "widget": { + "localIdentifier": "widget_net_sales_by_category", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Net Sales by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", @@ -1566,1553 +1861,1192 @@ } }, "properties": {}, - "localIdentifier": "7090ea24-44b7-463a-a07e-b31dedeab3d1", - "title": "Customer Activity by Hour", - "drills": [], - "insight": { - "identifier": { - "id": "cc858402-0650-444e-947a-1e8dfc888435", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 22 - } - } - } - ], - "header": { - "description": "Analyze customer behavior by segment, comparing lifetime value and purchase frequency to identify loyal, high-value, and growth customers.", - "title": "Customer Preferences" - } + "drills": [ + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "products", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "100691d163aa4d53be0fc7e1a048190b" + } + }, + "localIdentifier": "8c673b048fb54bc3b320bc99dbc71858" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": true - } - }, - "localIdentifier": "962046a2-d008-4e02-ac0f-8d05d7a032a1" + }, + "direction": "column" + } } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridHeight": 45, - "gridWidth": 6 + "gridWidth": 8, + "gridHeight": 47 } }, "widget": { + "localIdentifier": "container_product_breakdown", "type": "IDashboardLayout", "sections": [ { "type": "IDashboardLayoutSection", "header": { - "description": "Ranks customers by revenue contribution.", - "title": "Customer Revenue Rankings" + "title": "Product Breakdown", + "description": "Identifies the best-selling products and brands by net sales and order volume, supporting product performance comparison and top-seller analysis." }, "items": [ { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 6, - "gridHeight": 22 + "gridWidth": 8, + "gridHeight": 20 } }, "widget": { - "visualizations": [ - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "localIdentifier": "226696ee-f9c4-490a-b2db-a31652705f32", - "title": "Top 10 Customers by Revenue", - "drills": [], - "insight": { - "identifier": { - "id": "607e9724-37ed-44f6-9fb4-55676d58df6e", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "columnWidths": [ - { - "measureColumnWidthItem": { - "width": { - "value": 100 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575_previous_period" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 141 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 94 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575" - } - } - ] - } - }, - { - "attributeColumnWidthItem": { - "width": { - "value": 99 - }, - "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb" - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 86 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 99 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "002b4e50878a444ea0fd40c8ef131426" - } - } - ] - } - } - ] - } - }, - "localIdentifier": "2c03909e-8c0d-4728-a4db-07998b53f717", - "title": "Top 10 Customers by Revenue (Details)", - "drills": [], - "insight": { - "identifier": { - "id": "9bd57223-2ba5-404b-af62-d5b6a418629a", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "localIdentifier": "widget_best_selling_brands", + "type": "insight", + "insight": { + "identifier": { + "id": "best_selling_product_brands", + "type": "visualizationObject" } - ], - "localIdentifier": "84f7000b-99ad-4bac-80da-d9983604d1b5", - "title": "", - "drills": [], + }, + "title": "Best-selling Product Brands", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, { "type": "IDashboardLayoutItem", "size": { "xl": { - "gridWidth": 6, + "gridWidth": 8, "gridHeight": 22 } }, "widget": { - "visualizations": [ - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "columnWidths": [ - { - "measureColumnWidthItem": { - "width": { - "value": 125 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 104 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "002b4e50878a444ea0fd40c8ef131426" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 122 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575_previous_period" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 90 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575" - } - } - ] - } - }, - { - "attributeColumnWidthItem": { - "width": { - "value": 98 - }, - "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb" - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 70 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "0144a27623e44d79acfba3facfc43274" - } - } - ] - } - }, - { - "measureColumnWidthItem": { - "width": { - "value": 111 - }, - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" - } - } - ] - } - } - ] - } - }, - "localIdentifier": "6fb6b2f0-fed4-4b8f-8223-766f6b7fd90a", - "title": "Bottom 10 Customers by Revenue (Details)", - "drills": [], - "insight": { - "identifier": { - "id": "8db91a42-5cd3-4b95-a224-221ac17732d8", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, + "localIdentifier": "widget_product_details", + "type": "insight", + "insight": { + "identifier": { + "id": "product_details", + "type": "visualizationObject" + } + }, + "title": "Product Details", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ { - "dateDataSet": { + "type": "drillToDashboard", + "transition": "in-place", + "target": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "id": "sales", + "type": "analyticalDashboard" } }, - "localIdentifier": "76c6d231-b5fa-4f06-b755-3d6e27e302ed", - "title": "Bottom 10 Customers by Revenue", - "drills": [], - "insight": { - "identifier": { - "id": "2168550d-8146-472e-9654-db2e08e65a9c", - "type": "visualizationObject" + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "localIdentifier": "910a25f78b1e457e890e28f58bc59a46" } ], - "localIdentifier": "ff50b2a1-41b4-4870-8203-1dcac35eb8b7", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } } ] } ], "configuration": { - "direction": "column", "sections": { "enableHeader": true - } - }, - "localIdentifier": "c63f392b-4dc0-4ce7-bde9-86a4ec9f2c7d" + }, + "direction": "column" + } } } ] } ] }, - "disableCrossFiltering": true, - "disableUserFilterReset": false, - "disableUserFilterSave": false, - "disableFilterViews": false, - "version": "2" - }, - "description": "", - "id": "12fa0ef2-676b-41fb-bb91-9e1936097461", - "title": "3. Customers" - }, - { - "content": { - "filterContextRef": { - "identifier": { - "id": "bf439696-d6c6-4d41-a102-dd98e2f3da35_filterContext", - "type": "filterContext" - } - }, - "layout": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ + "tabs": [ + { + "localIdentifier": "overview_tab", + "title": "All Countries", + "layout": { + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } + "type": "IDashboardLayoutSection", + "header": { + "title": "Main KPIs Overview", + "description": "Highlighting overall business performance compared to the previous period." }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "4c66da53-6e12-4b96-85df-051553c883a7", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Net Sales", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_net_sales", + "type": "insight", + "insight": { "identifier": { - "id": "469e8936-ca67-4987-8c70-0e35be24be4d", + "id": "net_sales_headline", "type": "visualizationObject" } }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + "title": "Net Sales", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, - "localIdentifier": "6e20cad2313e4017b235d60fe141be21" - } - ], - "insight": { - "identifier": { - "id": "700d732d-67e1-4658-a6e0-c6b8edbb6d49", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "94590e0c-b610-49e7-ae2e-6adb0085315e", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "sales_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + } + }, + "localIdentifier": "d7169097e9d1491495ab904ec0ec76a8" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "title": "Orders Paid", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_orders", + "type": "insight", + "insight": { "identifier": { - "id": "469e8936-ca67-4987-8c70-0e35be24be4d", + "id": "orders_processed_headline", "type": "visualizationObject" } }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "eb334cab51954b9f83184eead11308bc" + "title": "Orders", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, - "localIdentifier": "18bb8ae3b0524dfea59351b83a22c1c4" - } - ], - "insight": { - "identifier": { - "id": "3ac5e106-b43e-4c87-9ef0-9315e02282bd", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "completed_vs_canceled_orders_trend", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "eb334cab51954b9f83184eead11308bc" + } + }, + "localIdentifier": "5477f9944cd4492ab1950c2dac4893e6" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "properties": {}, - "localIdentifier": "61b142b3-758e-45e0-a4c3-65146e5fa0be", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_active_customers", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_headline", + "type": "visualizationObject" + } + }, + "title": "Active Customers", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "active_customers_by_location_geo", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" + } + }, + "localIdentifier": "634dd62efe0841b1b3313b5db4f3d961" + }, + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "customers", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf" + } + }, + "localIdentifier": "2763b8e272314cec82c7e550cc3604fb" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "title": "Gross Profit", - "drills": [ - { - "localIdentifier": "14cad41459684d68ad977d60ba379536", - "transition": "pop-up", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_gross_profit", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_headline", + "type": "visualizationObject" } }, - "type": "drillToInsight", - "target": { + "title": "Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { "identifier": { - "id": "9570eab0-b451-48be-9e24-3c106fe898a2", - "type": "visualizationObject" + "id": "date", + "type": "dataset" } - } - } - ], - "insight": { - "identifier": { - "id": "b666412b-3c13-4e80-9b3f-7787558aa3ce", - "type": "visualizationObject" + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "gross_profit_trend", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "6b869cd55eb6408ab68ca156380cdc6c" + }, + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "sales", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "d8ce421d1c8847c290747a224d67547e" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } + } + ] }, { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 11, - "gridWidth": 3 - } + "type": "IDashboardLayoutSection", + "header": { + "title": "Customer and Sales Insights", + "description": "High-level view of where orders originate, how sales and order volumes evolve over time, and the performance of customer segments and fulfillment stages." }, - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "45615f81-fd84-4405-a772-d30ea68a683d", - "configuration": { - "hideTitle": false - }, - "title": "Sales Conversion Rate (%)", - "drills": [], - "insight": { - "identifier": { - "id": "ec9b9afa-96f7-439a-8ce2-94735173b98a", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - } - ], - "header": { - "description": "Monitor overall sales performance through key sales performance indicators", - "title": "Sales Performance Overview" - } - }, - { - "type": "IDashboardLayoutSection", - "header": { - "description": "Analyze sales performance in detail with a breakdown of revenue, costs, discounts, and returns. Track progress against sales goals and compare current net sales with last year to uncover growth patterns.", - "title": "Sales Breakdown" - }, - "items": [ - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 36, - "gridWidth": 4 - } - }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 39 + } + }, + "widget": { + "localIdentifier": "container_customer_sales_insights", + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 4, - "gridHeight": 15 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "1e645423-de8c-4939-837f-d2c1061c65c1", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Sales Goal", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_active_customers_by_country", + "type": "insight", + "insight": { "identifier": { - "id": "25bdccd8-ef39-40a5-a224-6031d0ab470c", + "id": "active_customers_by_country", "type": "visualizationObject" } }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "7d80d30b6bd64fd69d975ad8e234f6d0" + "title": "Active Customers by Country", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, - "localIdentifier": "2ea9355493c341b9aa23c2e0d8e53ef5" - } - ], - "insight": { - "identifier": { - "id": "68ddf963-edce-4f88-a8d5-09bf3825b124", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 4, - "gridHeight": 21 - } - }, - "widget": { - "visualizations": [ - { + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, - "localIdentifier": "5aafcfea-f93f-4050-a4bf-7eba178976df", - "title": "Net Sales Breakdown", + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [], + "ignoreCrossFiltering": true + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 28 + } + }, + "widget": { + "localIdentifier": "widget_location_maps", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_active_customers_by_location", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_by_location_cities", + "type": "visualizationObject" + } + }, + "title": "Active Customers by Location", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_orders_by_location", + "type": "insight", + "insight": { + "identifier": { + "id": "orders_by_location_area_map", + "type": "visualizationObject" + } + }, + "title": "Orders by Location (Area map)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_active_customers_orders_location", + "type": "insight", + "insight": { + "identifier": { + "id": "active_customers_and_orders_by_location", + "type": "visualizationObject" + } + }, + "title": "Active Customers & Placed Orders by Location", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "user_created_date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", "drills": [], + "ignoreDashboardFilters": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" + } + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 39 + } + }, + "widget": { + "localIdentifier": "container_search_to_sale", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 18 + } + }, + "widget": { + "localIdentifier": "widget_from_search_to_sale", + "type": "insight", "insight": { "identifier": { - "id": "f52cdf0e-dd0a-40cf-b1dd-e7c25dad2b63", + "id": "from_search_to_sale_active_customers_vs_orders", "type": "visualizationObject" } }, + "title": "From Search to Sale: Active Customers vs. Orders Placed", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - { "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, - "localIdentifier": "566f0b18-4d49-447b-b399-1790c775e97c", - "title": "Total Sales Breakdown", - "drills": [], - "insight": { - "identifier": { - "id": "41a8d4c3-1ab6-4bab-b531-5893912e9b93", - "type": "visualizationObject" + "properties": { + "controls": { + "zoomInsight": true } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } - ], - "localIdentifier": "f22fc40a-5dcc-45ce-999b-5d40f39cc02c", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } - } - ] - } - ], - "configuration": { - "direction": "column", - "sections": { - "enableHeader": false - } - }, - "localIdentifier": "ab43c86c-ec20-4b41-b904-98a23df415a3" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 36, - "gridWidth": 8 - } - }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ - { - "type": "IDashboardLayoutItem", - "widget": { - "drillDownIntersectionIgnoredAttributes": [], - "ignoredDrillDownHierarchies": [ - { - "type": "dateHierarchyReference", - "dateHierarchyTemplate": "default", - "dateDatasetAttribute": { - "identifier": { - "id": "date.day", - "type": "attribute" - } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 20 } }, - { - "type": "attributeHierarchyReference", - "attributeHierarchy": "72a9b29c-d982-4a9d-b226-ebcd060801dc", - "attribute": { - "identifier": { - "id": "date.day", - "type": "attribute" + "widget": { + "localIdentifier": "container_net_sales_customer_breakdown", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_net_sales_share_top_5_city", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_share_by_top_5_city", + "type": "visualizationObject" + } + }, + "title": "Net Sales Share by Top 5 City", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_customer_breakdown", + "type": "insight", + "insight": { + "identifier": { + "id": "customers_breakdown", + "type": "visualizationObject" + } + }, + "title": "Customer Breakdown", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "row" } } - ], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true - } - }, - "localIdentifier": "bcbb19e6-bd0e-4689-8f47-d3876fcdec3d", - "title": "Overall Revenue Forecast", - "drills": [], - "insight": { - "identifier": { - "id": "5afcc5f4-85a5-43cf-b4d4-d244c694b316", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 8, - "gridHeight": 15 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 8, - "gridHeight": 21 } - }, - "widget": { - "visualizations": [ - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "localIdentifier": "402733d4-e0dc-4a18-8c61-e1e15b945d7c", - "title": "Sales Performance by Product Category Over Time", - "drills": [], - "insight": { - "identifier": { - "id": "09a05f3f-d0cd-423a-8844-eba4ba7ca0c4", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "", - "ignoredDrillDownHierarchies": [ - { - "type": "attributeHierarchyReference", - "attributeHierarchy": "ad14f0ed-9ba5-44ff-bd35-46ac2775a7ea", - "attribute": { - "identifier": { - "id": "product_category", - "type": "attribute" - } - } - } - ], - "drillDownIntersectionIgnoredAttributes": [], - "properties": { - "controls": { - "zoomInsight": true - } - } - }, - { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "localIdentifier": "cc64d9ca-af7d-4ef9-931a-e1992b69d7a3", - "title": "Total Net Sales: Current vs. Last Year", - "drills": [], - "insight": { - "identifier": { - "id": "60dd3592-1322-4260-aaad-bd51cdcb1343", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - ], - "localIdentifier": "d023ac1c-64be-4559-9ad7-e718af56e5ff", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } + ] } ], - "header": {} - } - ], - "configuration": { - "direction": "column", - "sections": { - "enableHeader": false + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" + } } - }, - "localIdentifier": "233678d4-f7f2-4f7e-9a57-1e9073a6ac94" - } - } - ] - }, - { - "type": "IDashboardLayoutSection", - "header": { - "description": "View order distribution across processed, in-cart, and canceled statuses, and track trends", - "title": "Order Breakdown" - }, - "items": [ - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 4, - "gridHeight": 20 } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Orders Breakdown", + "description": "Shows the order fulfillment flow and revenue trends over time." }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "627ef5ea-9c0b-4732-901a-0df04c7e13da", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Order Status Breakdown", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 17 + } + }, + "widget": { + "localIdentifier": "widget_order_fulfillment_funnel", + "type": "insight", + "insight": { "identifier": { - "id": "1b9ce816-a4f9-4301-bdfd-d36c6a7a71b6", + "id": "order_fulfillment_funnel", "type": "visualizationObject" } }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "8c7d1a1164ab4bdb870e49e26bbfd72d" + "title": "Order Fulfillment Funnel", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, - "localIdentifier": "fa8b245537e74c42b987ae270b81e1f9" - } - ], - "insight": { - "identifier": { - "id": "b4497110-8d8a-4ab3-9cd5-471b60d8e561", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 8, - "gridHeight": 20 - } - }, - "widget": { - "visualizations": [ - { + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", "type": "dataset" } }, - "localIdentifier": "441b14f0-ce5b-4a61-b2d7-5dc0ba6eeea8", - "title": "Completed vs. Canceled Orders Trend", + "properties": {}, "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 9, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_revenue_trend", + "type": "insight", "insight": { "identifier": { - "id": "bb5c2581-2da9-49b8-b430-b9c2371c79ff", + "id": "revenue_trend_over_time", "type": "visualizationObject" } }, - "ignoreDashboardFilters": [], - "type": "insight", + "title": "Revenue Trend Over Time", "description": "", - "properties": { - "controls": { - "zoomInsight": true + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } - } - }, - { + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", "type": "dataset" } }, - "localIdentifier": "8d37acd4-5062-4348-9a12-8b0b9185b44e", - "title": "Orders by Status Over Time", + "properties": { + "controls": { + "zoomInsight": true + } + }, "drills": [], + "ignoredDrillDownHierarchies": [ + { + "type": "attributeHierarchyReference", + "attributeHierarchy": "72a9b29c-d982-4a9d-b226-ebcd060801dc", + "attribute": { + "identifier": { + "id": "date.day", + "type": "attribute" + } + } + } + ], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_brand_performance", + "type": "insight", "insight": { "identifier": { - "id": "a2b50fff-c7eb-444c-95e6-67037d2544d6", + "id": "brand_performance_segments_sales_vs_orders", "type": "visualizationObject" } }, - "ignoreDashboardFilters": [], - "type": "insight", + "title": "Brand Performance Segments: Sales vs. Orders", "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, "properties": { "controls": { "zoomInsight": true } + }, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 20 } + }, + "widget": { + "localIdentifier": "widget_brand_breakdown_content", + "type": "richText", + "content": "### Brand Breakdown ###\n---\n\n**\uD83D\uDFE2 Leaders**\n\n>> Brands with outstanding sales and order volumes — clear market leaders.\n---\n**⚫ Challengers**\n\n>> Brands with solid sales and orders, showing strong momentum and potential to move into leadership.\n---\n**⚪ Emerging Players**\n\n>> Brands with moderate performance, steadily growing but not yet top-tier.\n---\n**\uD83D\uDD35 Niche Brands**\n\n>> Brands with relatively low sales and order counts, often focused on specific audiences or product niches.", + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] } - ], - "localIdentifier": "f295dc5e-7c76-42af-9ad8-369c6c043a36", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } - } - ] - } - ] - }, - "disableCrossFiltering": true, - "disableUserFilterReset": false, - "disableUserFilterSave": false, - "disableFilterViews": false, - "version": "2" - }, - "description": "", - "id": "bf439696-d6c6-4d41-a102-dd98e2f3da35", - "title": "2. Sales" - }, - { - "content": { - "filterContextRef": { - "identifier": { - "id": "c1d67cd4-94ad-40aa-91a5-cdf4143f778a_filterContext", - "type": "filterContext" - } - }, - "layout": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "189df7e7-051d-4bd9-ae76-ffb59f94f8f3", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Net Sales", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { - "identifier": { - "id": "469e8936-ca67-4987-8c70-0e35be24be4d", - "type": "visualizationObject" - } - }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" - } - }, - "localIdentifier": "70eb1a94e5ca4c898584e7c4b60a1548" - } - ], - "insight": { - "identifier": { - "id": "700d732d-67e1-4658-a6e0-c6b8edbb6d49", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "0e8c8ac0-fe56-4404-9d2e-f65f108d91cf", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Net Orders", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { - "identifier": { - "id": "1b9ce816-a4f9-4301-bdfd-d36c6a7a71b6", - "type": "visualizationObject" - } - }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "eb334cab51954b9f83184eead11308bc" - } - }, - "localIdentifier": "3c4bb03e23fb43c2a5051421d8fda061" - } - ], - "insight": { - "identifier": { - "id": "3ac5e106-b43e-4c87-9ef0-9315e02282bd", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } + ] }, { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "8ef98eb4-c1d2-4e57-b47c-3b7c9f246aac", - "title": "Gross Profit", - "drills": [ - { - "localIdentifier": "7ce2d7b70da84c8da997461e6ca68b6a", - "transition": "pop-up", - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" - } - }, - "type": "drillToInsight", - "target": { - "identifier": { - "id": "9570eab0-b451-48be-9e24-3c106fe898a2", - "type": "visualizationObject" + "type": "IDashboardLayoutSection", + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 47 + } + }, + "widget": { + "localIdentifier": "container_product_category_breakdown", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Category Breakdown", + "description": "Surfaces the most popular product categories by order volume and net sales, enabling comparison of category performance and identification of leading categories." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_order_volume_category_rating", + "type": "insight", + "insight": { + "identifier": { + "id": "order_value_by_category_and_customer_rating", + "type": "visualizationObject" + } + }, + "title": "Order Volume by Category and Rating", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "products", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromAttribute", + "attribute": { + "localIdentifier": "bdfd0781ec444582a8fe10ce3414b097" + } + }, + "localIdentifier": "1e344c8e99304f0eb94ca3fa3486203e" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_net_sales_by_category", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Net Sales by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "products", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "100691d163aa4d53be0fc7e1a048190b" + } + }, + "localIdentifier": "8c673b048fb54bc3b320bc99dbc71858" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] } + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "column" } } - ], - "insight": { - "identifier": { - "id": "b666412b-3c13-4e80-9b3f-7787558aa3ce", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridHeight": 10, - "gridWidth": 3 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 3, - "gridHeight": 10 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "c132219b-8b6c-47ef-9d65-21b1c6e8ee49", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } }, - "title": "Revenue per Customer", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { - "identifier": { - "id": "543cadbb-10b4-4153-b810-52586df7aa0e", - "type": "visualizationObject" - } - }, - "origin": { - "type": "drillFromMeasure", - "measure": { - "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" - } - }, - "localIdentifier": "4dead538bcb24c17ba6e5c99774ea31e" - } - ], - "insight": { - "identifier": { - "id": "0c7ac154-1766-4d54-ba2b-b6f6913a59dd", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - } - ], - "header": { - "description": "Track key product performance KPIs by comparing the current period with the previous one.", - "title": "Main Product KPIs" - } - }, - { - "type": "IDashboardLayoutSection", - "items": [ - { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "8c4f6a7e-3acc-44d0-ac71-39d06797a1cf", - "title": "Sales to Net Revenue Breakdown", - "drills": [], - "insight": { - "identifier": { - "id": "23a5b515-1b04-4940-bce5-3eeccfda0f83", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridHeight": 20, - "gridWidth": 5 - } - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true - } - }, - "localIdentifier": "71b02a77-47b5-4786-8fea-f49d99ff002f", - "title": "From Search to Sale: Active Customers vs. Orders Placed", - "drills": [], - "insight": { - "identifier": { - "id": "0b245f1d-aad7-4089-aaf4-a15e25695e7c", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridHeight": 17, - "gridWidth": 7 - } - } - }, - { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "424c42cf-fbc8-474b-9cc9-8d2c60e4aafa", - "title": "Order Volume Over Time", - "drills": [], - "insight": { - "identifier": { - "id": "70d8d521-22ff-468f-924f-4a81a28227c1", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 7, - "gridHeight": 20 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 5, - "gridHeight": 22 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true - } - }, - "localIdentifier": "491bf11c-685c-4414-8779-f98bd8a6172f", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true - } - }, - "title": "Brand Profitability by Price and Order Volume", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { - "identifier": { - "id": "65120fa4-2805-4f70-b576-01d138117cf4", - "type": "visualizationObject" - } - }, - "origin": { - "type": "drillFromAttribute", - "attribute": { - "localIdentifier": "458f2a55e1ca457883ff36141c84dc48" - } - }, - "localIdentifier": "f3d9855be6e242ff8c1421ac49f3f26e" - } - ], - "insight": { - "identifier": { - "id": "405034d6-ab9c-462a-a88e-3172598adc65", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - } - ], - "header": { - "description": "Provides a consolidated view of key sales, customer, and profitability metrics to track performance, identify trends, and support decision-making.", - "title": "Sales, Customers & Profitability" - } - }, - { - "type": "IDashboardLayoutSection", - "items": [ - { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "343c0b27-7615-492e-839e-464f0cb40e1c", - "title": "Product Performance Trends", - "drills": [], - "insight": { - "identifier": { - "id": "6a23110a-8d0d-4385-99aa-9b829f735314", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 50 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 52, - "gridWidth": 6 - } - }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 47 + } + }, + "widget": { + "localIdentifier": "container_product_breakdown", + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 19 - } + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Breakdown", + "description": "Identifies the best-selling products and brands by net sales and order volume, supporting product performance comparison and top-seller analysis." }, - "widget": { - "visualizations": [ - { - "drillDownIntersectionIgnoredAttributes": [], - "ignoredDrillDownHierarchies": [ - { - "type": "dateHierarchyReference", - "dateHierarchyTemplate": "default", - "dateDatasetAttribute": { - "identifier": { - "id": "date.day", - "type": "attribute" - } - } - }, - { - "type": "attributeHierarchyReference", - "attributeHierarchy": "72a9b29c-d982-4a9d-b226-ebcd060801dc", - "attribute": { - "identifier": { - "id": "date.day", - "type": "attribute" - } - } + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_best_selling_brands", + "type": "insight", + "insight": { + "identifier": { + "id": "best_selling_product_brands", + "type": "visualizationObject" } - ], + }, + "title": "Best-selling Product Brands", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", @@ -3124,3801 +3058,5832 @@ "zoomInsight": true } }, - "localIdentifier": "992d8121-6a28-4ac9-8995-0f90c5060218", - "title": "Overall Revenue Forecast", "drills": [], - "insight": { + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_product_details", + "type": "insight", + "insight": { "identifier": { - "id": "5afcc5f4-85a5-43cf-b4d4-d244c694b316", + "id": "product_details", "type": "visualizationObject" } }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - { - "drillDownIntersectionIgnoredAttributes": [], - "ignoredDrillDownHierarchies": [ - { - "type": "attributeHierarchyReference", - "attributeHierarchy": "ad14f0ed-9ba5-44ff-bd35-46ac2775a7ea", - "attribute": { - "identifier": { - "id": "product_category", - "type": "attribute" - } - } + "title": "Product Details", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } - ], + }, + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { "id": "date", "type": "dataset" } }, - "properties": { - "controls": { - "zoomInsight": true + "properties": {}, + "drills": [ + { + "type": "drillToDashboard", + "transition": "in-place", + "target": { + "identifier": { + "id": "sales", + "type": "analyticalDashboard" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d" + } + }, + "localIdentifier": "910a25f78b1e457e890e28f58bc59a46" } - }, - "localIdentifier": "f262a0bf-11b3-4b41-98a6-b389b1d2f22c", - "title": "Sales Performance by Product Category Over Time", - "drills": [], + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "column" + } + } + } + ] + } + ] + }, + "filterContextRef": { + "identifier": { + "id": "overview_tab_filterContext", + "type": "filterContext" + } + } + }, + { + "localIdentifier": "us_tab", + "title": "US", + "layout": { + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 23 + } + }, + "widget": { + "localIdentifier": "container_us_kpis", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Main KPIs Overview", + "description": "Highlighting overall business performance compared to the previous period." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_us_net_sales", + "type": "insight", "insight": { "identifier": { - "id": "09a05f3f-d0cd-423a-8844-eba4ba7ca0c4", + "id": "net_sales_headline", "type": "visualizationObject" } }, + "title": "Net Sales", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - ], - "localIdentifier": "c4469e9d-0e3d-4e6f-a2b3-94c6407b7480", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 14 - } - }, - "widget": { - "ignoredDrillDownHierarchies": [], - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "properties": {}, - "localIdentifier": "0517e8f9-c310-4670-a646-330e635aaf22", - "configuration": { - "hideTitle": false, - "description": { - "includeMetrics": false, - "source": "insight", - "visible": true + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "overall_revenue_forecast", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + } + }, + "localIdentifier": "6231350adbdc452ba947cc52e547db9c" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "title": "Gross Profit by Product Category", - "drills": [ - { - "type": "drillToInsight", - "transition": "pop-up", - "target": { + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_us_orders", + "type": "insight", + "insight": { "identifier": { - "id": "65120fa4-2805-4f70-b576-01d138117cf4", + "id": "orders_processed_headline", "type": "visualizationObject" } }, - "origin": { - "type": "drillFromAttribute", - "attribute": { - "localIdentifier": "3e7c2309e28c4d4aba6ef58eff63b8b1" + "title": "Orders", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true } }, - "localIdentifier": "f92c1f092eb74c0687969d96d92abf0c" - } - ], - "insight": { - "identifier": { - "id": "9a254b09-91f2-4d36-bc40-bd51d9006a06", - "type": "visualizationObject" - } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridWidth": 6, - "gridHeight": 19 - } - }, - "widget": { - "visualizations": [ - { + "ignoreDashboardFilters": [], "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, - "localIdentifier": "31a41e0e-7508-43f3-8d52-ebdecb2f03e4", - "title": "Top Sold Products", - "drills": [], + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "order_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "eb334cab51954b9f83184eead11308bc" + } + }, + "localIdentifier": "1d7dc2d20fda4b43b197a5da2f7c8856" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_us_gross_profit", + "type": "insight", "insight": { "identifier": { - "id": "603bbd58-ea50-4607-ad20-418bd95c06c8", + "id": "gross_profit_headline", "type": "visualizationObject" } }, + "title": "Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - { "dateDataSet": { "identifier": { - "id": "customer_created_date", + "id": "date", "type": "dataset" } }, - "localIdentifier": "c0333bdd-5891-4393-8915-4bdd3dfc8235", - "title": "Top Products by Gross Profit", - "drills": [], + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "top_products_by_gross_profit", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "08b189838b8d45cf95bf27f86a50ef52" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_us_avg_sales_per_customer", + "type": "insight", "insight": { "identifier": { - "id": "7b49dbdb-f9ab-41dd-9cb4-cd13627d67c3", + "id": "average_sales_per_customer", "type": "visualizationObject" } }, + "title": "Average Sales per Customer", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, "ignoreDashboardFilters": [], - "type": "insight", - "description": "" + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "customer_orders_and_sales_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" + } + }, + "localIdentifier": "d28ae24e78fb481294ed1a154dc692e3" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } - ], - "localIdentifier": "427dbe2c-0a52-4bc7-8931-29fc963c659a", - "title": "", - "drills": [], - "ignoreDashboardFilters": [], - "type": "visualizationSwitcher", - "description": "" - } + } + ] } - ] - } - ], - "configuration": { - "direction": "column", - "sections": { - "enableHeader": false + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "row" + } } }, - "localIdentifier": "1cef959c-1f7b-4055-b912-8161044da54d" - } - } - ], - "header": { - "description": "Provides detailed insights into product-level performance, including pricing, costs, sales trends, ratings, and category-level profitability over time.", - "title": "Product Performance Overview" - } - }, - { - "type": "IDashboardLayoutSection", - "items": [ - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 32, - "gridWidth": 5 - } - }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 23 + } + }, + "widget": { + "localIdentifier": "container_us_sales_breakdown", + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "IDashboardLayoutSection", + "header": { + "title": "Sales Breakdown", + "description": "Analyze sales performance in general." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 6 + } + }, + "widget": { + "localIdentifier": "widget_us_sales_goal", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_goal", + "type": "visualizationObject" + } + }, + "title": "", + "description": "", + "configuration": { + "hideTitle": true, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "properties": {}, - "localIdentifier": "50fc3a67-7524-4e67-b873-b9c6eeb6c63d", - "title": "Product Pricing Breakdown", - "drills": [], - "insight": { - "identifier": { - "id": "fd4fb308-50d6-4a61-accc-e0f17039d144", - "type": "visualizationObject" + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 17 + } + }, + "widget": { + "localIdentifier": "widget_us_revenue_trend", + "type": "insight", + "insight": { + "identifier": { + "id": "revenue_trend_over_time", + "type": "visualizationObject" + } + }, + "title": "Revenue Trend Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "" - }, - "size": { - "xl": { - "gridWidth": 5, - "gridHeight": 28 - } - } - }, - { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 4, - "gridWidth": 5 } - }, - "widget": { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" - } - }, - "localIdentifier": "848b0de5-ebf7-479b-bcbc-4d3172a5fd12", - "title": "", - "drills": [], - "content": "\uD83D\uDFE3 Premium Margin Products, \uD83D\uDD35 Core Products, \uD83D\uDFE2 High-End Products, ⚫ Budget Products", - "ignoreDashboardFilters": [], - "type": "richText", - "description": "" - } + ] } - ] - } - ], - "configuration": { - "direction": "column", - "sections": { - "enableHeader": false + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "column" + } } - }, - "localIdentifier": "15bffd1a-9b96-47f1-8267-3a10f005b246" - } + } + ] }, { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 32, - "gridWidth": 7 - } + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Breakdown", + "description": "Provides detailed insights into product-level performance, including pricing, costs, sales trends, ratings, and category-level profitability over time." }, - "widget": { - "type": "IDashboardLayout", - "sections": [ - { - "type": "IDashboardLayoutSection", - "items": [ + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 44 + } + }, + "widget": { + "localIdentifier": "container_us_product_category", + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "widget": { - "dateDataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "properties": { - "controls": { - "zoomInsight": true + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_us_order_volume_category", + "type": "insight", + "insight": { + "identifier": { + "id": "order_value_by_category_and_customer_rating", + "type": "visualizationObject" + } + }, + "title": "Order Volume by Category and Rating", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "localIdentifier": "016115e1-b298-424c-82e2-19556f8e4b26", - "title": "Price Elasticity by Product Brand", - "drills": [], - "insight": { - "identifier": { - "id": "9cc379ca-2d55-4f82-aa5e-e256d7e3580d", - "type": "visualizationObject" + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_us_net_sales_gross_profit_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_us_net_sales_by_category_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Net Sales by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_us_gross_profit_by_category_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Gross Profit by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] } - }, - "ignoreDashboardFilters": [], - "type": "insight", - "description": "", - "ignoreCrossFiltering": false - }, - "size": { - "xl": { - "gridWidth": 7, - "gridHeight": 21 } - } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false }, + "direction": "row" + } + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 44 + } + }, + "widget": { + "localIdentifier": "container_us_product_location", + "type": "IDashboardLayout", + "sections": [ { - "type": "IDashboardLayoutItem", - "size": { - "xl": { - "gridHeight": 11, - "gridWidth": 7 - } - }, - "widget": { - "dateDataSet": { - "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 2, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_us_net_sales_share_city", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_share_by_top_5_city", + "type": "visualizationObject" + } + }, + "title": "Net Sales Share by Top 5 City", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] } }, - "localIdentifier": "a2e7032c-4c1c-476c-9287-9b23db98cadf", - "title": "", - "drills": [], - "content": "### Price Elasticity of Demand (PED) Breakdown\n---\n**Perfectly Inelastic (=0)**: Demand does not change at all with price\n\n---\n**Inelastic (0=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT {metric/net_sales}/{metric/active_customers}" - }, - "description": "Measures the average revenue generated per active customer, providing insights into customer value and business performance.", - "id": "arpu", - "title": "Average Revenue per User (ARPU)" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT {metric/net_sales} / {metric/number_of_orders}" - }, - "description": "Measures the average quantity of items or units purchased per order over a specific period, helping assess customer purchasing behavior and sales performance.", - "id": "average_order_volume", - "title": "Average Order Volume" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/number_of_orders} / COUNT({label/customer_id})" - }, - "description": "Measures the average number of orders placed by each customer over a specific period, providing insights into customer loyalty and purchasing frequency.", - "id": "average_orders_by_customers", - "title": "Average Orders by Customers" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT AVG({fact/order_unit_cost})" - }, - "description": "Measures the average cost per product, key for optimizing pricing strategies and enhancing profit margins.", - "id": "average_product_cost", - "title": "Average Product Cost" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT AVG({fact/order_unit_price})" - }, - "description": "Measures the average cost per unit of products, aiding in pricing strategy and enhancing profitability analysis.", - "id": "average_product_price", - "title": "Average Product Price" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/number_of_orders} WHERE {label/order_status} = \"Canceled\"" - }, - "description": "Measures the number of orders that were placed but subsequently canceled.", - "id": "canceled_orders", - "title": "Canceled Orders" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT IFNULL({metric/cogs_orders},0) - IFNULL({metric/cogs_returns},0)" - }, - "description": "Measures the net cost of goods sold by factoring in order costs and returns, essential for pricing and profitability insights.", - "id": "cogs", - "title": "COGS" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT (IFNULL({metric/cogs_orders},0) - IFNULL({metric/cogs_returns},0))*(-1)" - }, - "description": "Measures the net cost of goods sold by factoring in order costs and returns, essential for pricing and profitability insights (in negative value).", - "id": "cogs_n", - "title": "COGS (negative)" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT SUM({fact/order_unit_cost}*{fact/order_unit_quantity}) WHERE {label/order_status} = \"Processed\"" - }, - "description": "Calculates total cost of goods sold for processed orders, aiding in pricing strategies and profit analysis.", - "id": "cogs_orders", - "title": "COGS for Processed Orders" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT SUM({fact/return_unit_cost}*{fact/return_unit_quantity})" - }, - "description": "Measures total return costs by multiplying unit costs with quantities, providing insights for profitability and inventory management.", - "id": "cogs_returns", - "title": "COGS for Returns" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({fact/order_unit_cost}) / SUM({fact/order_unit_price})" - }, - "description": "Calculates the cost-to-revenue ratio, measuring how much of the revenue is consumed by the cost of goods sold (COGS)", - "id": "cost-to-revenue_ratio", - "title": "Cost-to-Revenue Ratio" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT RSQ({fact/order_unit_cost}, {fact/order_unit_price})" - }, - "description": "Evaluates the degree to which variations in product costs predict variations in selling prices, based on the R-squared statistic.", - "id": "cost_vs_selling_price", - "title": "Cost vs Selling Price" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT {metric/arpu} * ({metric/number_of_orders} / COUNT({label/customer_id}))" - }, - "description": "Predicts the total revenue a customer generates over their lifetime.", - "id": "customer_lifetime_value_clv", - "title": "Customer Lifetime Value (CLV)" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "select({metric/return_customers}/{metric/active_customers})" - }, - "description": "Measures the percentage of customers who continue purchasing from a business over a specific period, indicating loyalty and satisfaction.", - "id": "customer_retention_rate", - "title": "Customer Retention Rate" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/active_customers} WHERE {label/order_status} = \"Processed\"" - }, - "description": "Measures the number of active customers with successfully processed orders, highlighting sales effectiveness and customer satisfaction.", - "id": "customers_w_processed_orders", - "title": "Customers with Processed Orders" - }, - { - "content": { - "format": "#,##0", - "maql": "Select 4" - }, - "description": "", - "id": "desired_product_rating", - "title": "Desired Product Rating" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "select({metric/total_discounts}/({metric/total_sales}) )" - }, - "description": "Measures the percentage reduction applied to the original selling price of products or services, reflecting promotional strategies or negotiated pricing.", - "id": "discount_rate", - "title": "Discount Rate" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT sum({fact/order_unit_discount}) WHERE {fact/order_unit_discount} > 0 \n/ COUNT({label/order_id})/100" - }, - "description": "Measures how frequently customers take advantage of discount opportunities, useful for optimizing pricing strategies and promotional planning.", - "id": "discount_utilization_rate", - "title": "Discount Utilization Rate" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({fact/monthly_quantity_bom}) BY ALL IN ALL OTHER DIMENSIONS" - }, - "description": "Represents the total beginning-of-month inventory quantity aggregated across all dimensions.", - "id": "global_bom_inventory", - "title": "Global BOM Inventory" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT {metric/net_sales} - {metric/cogs}" - }, - "description": "Measures profitability by calculating the difference between net sales and cost of goods sold, indicating financial health.", - "id": "gross_profit", - "title": "Gross Profit" - }, - { - "content": { - "format": "#,##0%", - "maql": "SELECT {metric/gross_profit}/{metric/net_sales}" - }, - "description": "Measures how much of each $1 of sales revenue remains after covering the direct costs of goods sold", - "id": "gross_profit_margin", - "title": "Gross Profit Margin" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT {metric/cogs} / {metric/quantity_bom_by_year}" - }, - "description": "Measures how many times inventory is sold and replaced over a specific period.", - "id": "inventory_turnover_rate", - "title": "Inventory Turnover Rate" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "select ((AVG({fact/order_unit_price})-Avg({fact/order_unit_cost}))/avg({fact/order_unit_cost}))" - }, - "description": "Measures the percentage increase of the selling price over the product's cost, indicating how much profit margin is added on top of the cost.", - "id": "markup_percentage", - "title": "Markup Percentage" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "select {metric/total_sales} BY {label/date.day} ALL IN ALL OTHER DIMENSIONS" - }, - "description": "Measures total revenue from processed orders, providing insights into sales performance and potential profitability.", - "id": "monthly_total_sales", - "title": "Monthly Total Sales" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT (select {metric/number_of_orders}WHERE {label/order_status} = \"Processed\") - (select {metric/number_of_orders} WHERE {label/order_status} = \"Canceled\")" - }, - "description": "Calculates the net number of orders by subtracting the number of canceled orders from the number of processed orders", - "id": "net_delivered_orders", - "title": "Net Delivered Orders" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/number_of_orders} WHERE {label/order_status} = \"Processed\"" - }, - "description": "Measures total processed orders, offering key insights into sales performance and customer engagement trends.", - "id": "net_orders", - "title": "Net Orders" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT {metric/total_sales} - IFNULL({metric/total_discounts}, 0) \n- IFNULL({metric/total_returns},0)" - }, - "description": "Calculates the total sales revenue after accounting for discounts and returns, providing a true measure of revenue generated from actual completed sales.", - "id": "net_sales", - "title": "Total Net Sales" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT (SELECT {metric/net_sales} FOR PreviousPeriod({label/date.day})) * 1.1" - }, - "description": "Measures the target revenue by increasing last period's net sales by 10%, guiding sales performance towards growth.", - "id": "net_sales_goal", - "title": "Net Sales Goal" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/active_customers} WHERE \n(SELECT COUNT({label/order_id}) BY {label/customer_id} WHERE {label/order_date.day} = {label/customer_created_date.day}) > 0" - }, - "description": "Tracks new customers by counting those who made their first purchase, highlighting growth in customer acquisition.", - "id": "new_customers", - "title": "New Customers" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT COUNT({label/order_id},{label/order_line_id})" - }, - "description": "Measures total orders placed, providing insight into sales volume and customer engagement over time.", - "id": "number_of_orders", - "title": "# of Orders" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({metric/total_customers}) WHERE {metric/number_of_orders} = 1" - }, - "description": "Measures the total number of unique customers who placed exactly one order, highlighting single-order engagement trends.", - "id": "number_of_single_orders", - "title": "# of Single Orders" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT SUM({fact/order_unit_quantity}*{fact/order_unit_price})" - }, - "description": "Measures the total monetary value of all orders placed within a specific period, combining the selling price of all items purchased.", - "id": "order_amount", - "title": "Total Order Amount" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT RSQ({fact/order_unit_quantity}, {fact/return_unit_quantity})" - }, - "description": "Measures the strength of the relationship between order volume and return volume.", - "id": "order_volume_vs_return_volume", - "title": "Order Volume vs Return Volume" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "SELECT {metric/net_sales} / (SELECT {metric/net_sales} BY ALL OTHER WITHOUT PF)" - }, - "description": "Measures the proportion of net sales to total sales, revealing the effectiveness of revenue generation strategies.", - "id": "percentage_of_net_sales", - "title": "% of Net Sales" - }, - { - "content": { - "format": "#,##0", - "maql": "Select 0" - }, - "description": "", - "id": "perfectly_inelastic", - "title": "Perfectly Inelastic" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "select CORREL({fact/order_unit_price},{fact/order_unit_quantity})" - }, - "description": "Measures the strength and direction of the relationship between product price changes and the quantity sold.", - "id": "price_elasticity_of_demand", - "title": "Price Elasticity of Demand" - }, - { - "content": { - "format": "#,##0.0", - "maql": "SELECT AVG({fact/rating})" - }, - "description": "Calculates the average score or evaluation given by customers based on their satisfaction with a product.", - "id": "product_rating", - "title": "Product Rating" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "select({metric/returns}/{metric/number_of_orders})" - }, - "description": "Calculates the percentage of sold items that were returned", - "id": "product_return_rate", - "title": "Product Return Rate" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT ({metric/net_sales} - {metric/cogs}) / {metric/number_of_orders}" - }, - "description": "Measures the average profit earned from each individual order, calculated as the difference between the revenue generated and the associated costs.", - "id": "profit_per_order", - "title": "Profit per Order" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT AVG({metric/number_of_orders}) BY {label/customer_id}\n" - }, - "description": "Calculates average number of orders by each customer.", - "id": "purchase_frequency_per_customer", - "title": "Purchase Frequency per Customer" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({fact/monthly_quantity_bom}) " - }, - "description": "Measures the total beginning-of-month inventory quantity for each year, helping track inventory levels over time.", - "id": "quantity_bom_by_year", - "title": "BOM Quantity by Year" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT {metric/active_customers} - IFNULL({metric/new_customers},0)" - }, - "description": "Calculates the number of returning customers helping to measure customer retention and repeat purchases", - "id": "return_customers", - "title": "Returning Customers" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "SELECT ({metric/total_returns} / {metric/gross_profit})" - }, - "description": "Measures the proportion of gross profit lost due to product returns, highlighting the financial impact of returns on overall profitability.", - "id": "return_loss_impact", - "title": "Return Loss Impact" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({metric/net_sales}) BY {label/product_id}\n" - }, - "description": "", - "id": "revenue_by_product", - "title": "Revenue by Product" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "SELECT CORREL({metric/number_of_orders},{metric/returns})" - }, - "description": "Measures the correlation between order volume and returns to assess if higher sales lead to more returns", - "id": "sales-to-returns_correlation", - "title": "Sales-to-Returns Correlation" - }, - { - "content": { - "format": "#,##0.00", - "maql": "Select({metric/number_of_orders}/{metric/active_customers})" - }, - "description": "Measures the percentage of active customers who completed a purchase by placing at least one order.", - "id": "sales_conversion_rate", - "title": "Sales Conversion Rate" - }, - { - "content": { - "format": "#,##0.00%", - "maql": "SELECT SUM({fact/order_unit_quantity}) / (SUM({fact/order_unit_quantity})+SUM({fact/monthly_quantity_bom}))" - }, - "description": "Measures the efficiency of inventory turnover, providing insights into sales performance relative to stock levels.", - "id": "sell_through_rate", - "title": "Sell-Through Rate" - }, - { - "content": { - "format": "#,##0.00", - "maql": "Select rank({metric/revenue_by_product}) DESC " - }, - "description": "", - "id": "top_products", - "title": "Top Products" - }, - { - "content": { - "format": "#,##0.00", - "maql": "SELECT SUM({fact/monthly_quantity_bom}) BY ALL {label/date.year}" - }, - "description": "Measures the total beginning-of-month inventory quantity across all periods, without separating or grouping the data by year.", - "id": "total_bom_inventory", - "title": "Total BOM Inventory (Ignoring Year)" - }, - { - "content": { - "format": "#,##0", - "maql": "SELECT COUNT({label/customer_id})" - }, - "description": "Measures the total number of unique customers, providing insights into customer base growth and engagement trends.", - "id": "total_customers", - "title": "Total Customers" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT SUM({fact/order_unit_discount}) WHERE {label/order_status}= \"Processed\"" - }, - "description": "Measures the total discounts applied on processed orders, highlighting sales effectiveness and customer engagement.", - "id": "total_discounts", - "title": "Total Discounts" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT -1 * {metric/total_discounts}" - }, - "description": "Measures the total discounts applied on processed orders, highlighting sales effectiveness and customer engagement (in negative value).", - "id": "total_discounts_n", - "title": "Total Discounts (Negative)" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "select sum({fact/order_unit_cost}*{fact/order_unit_quantity})*(-1)" - }, - "description": "", - "id": "total_product_costs", - "title": "Total Product Costs" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT SUM({fact/return_unit_paid_amount}*{fact/return_unit_quantity})" - }, - "description": "Measures total refunds issued for returned items, offering insights into sales performance and customer satisfaction trends.", - "id": "total_returns", - "title": "Total Returns" - }, - { - "content": { - "format": "$#,##0.00", - "maql": "SELECT -1 * {metric/total_returns}" - }, - "description": "Measures total refunds issued for returned items, offering insights into sales performance and customer satisfaction trends (in negative value).", - "id": "total_returns_n", - "title": "Total Returns (Negative)" - }, - { - "content": { - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", - "maql": "SELECT {metric/order_amount} WHERE {label/order_status} = \"Processed\"" + "type": "IDashboardLayoutSection", + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 24 + } + }, + "widget": { + "localIdentifier": "container_canada_kpis", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Main KPI Overview", + "description": "Highlighting overall business performance compared to the previous period." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_canada_net_sales", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_headline", + "type": "visualizationObject" + } + }, + "title": "Net Sales", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "overall_revenue_forecast", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + } + }, + "localIdentifier": "eced8b3324114c8bafe0124a0f03625e" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_canada_orders", + "type": "insight", + "insight": { + "identifier": { + "id": "orders_processed_headline", + "type": "visualizationObject" + } + }, + "title": "Orders", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "order_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "eb334cab51954b9f83184eead11308bc" + } + }, + "localIdentifier": "13bfe29f050f41ac86b0264feba4be5f" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_canada_gross_profit", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_headline", + "type": "visualizationObject" + } + }, + "title": "Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "top_products_by_gross_profit", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "d8b7f9bfd5af459baf409a08e17d8dc2" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_canada_avg_sales_per_customer", + "type": "insight", + "insight": { + "identifier": { + "id": "average_sales_per_customer", + "type": "visualizationObject" + } + }, + "title": "Average Sales per Customer", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "customer_orders_and_sales_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" + } + }, + "localIdentifier": "b82bb72964724b62a21aa002df64fc81" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "row" + } + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 24 + } + }, + "widget": { + "localIdentifier": "container_canada_sales_breakdown", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Sales Breakdown", + "description": "Analyze sales performance in general.\n\n" + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 6 + } + }, + "widget": { + "localIdentifier": "widget_canada_sales_goal", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_goal", + "type": "visualizationObject" + } + }, + "title": "", + "description": "", + "configuration": { + "hideTitle": true, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 16 + } + }, + "widget": { + "localIdentifier": "widget_canada_revenue_trend", + "type": "insight", + "insight": { + "identifier": { + "id": "revenue_trend_over_time", + "type": "visualizationObject" + } + }, + "title": "Revenue Trend Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": true + }, + "direction": "column" + } + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Breakdown", + "description": "Provides detailed insights into product-level performance, including pricing, costs, sales trends, ratings, and category-level profitability over time." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 44 + } + }, + "widget": { + "localIdentifier": "container_canada_product_category", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_canada_order_volume_category", + "type": "insight", + "insight": { + "identifier": { + "id": "order_value_by_category_and_customer_rating", + "type": "visualizationObject" + } + }, + "title": "Order Volume by Category and Rating", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 4, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_canada_net_sales_gross_profit_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_canada_net_sales_by_category_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Net Sales by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_canada_gross_profit_by_category_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Gross Profit by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" + } + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 44 + } + }, + "widget": { + "localIdentifier": "container_canada_product_location", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 2, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_canada_net_sales_share_city", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_share_by_top_5_city", + "type": "visualizationObject" + } + }, + "title": "Net Sales Share by Top 5 City", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_canada_orders_by_location", + "type": "insight", + "insight": { + "identifier": { + "id": "orders_by_location_area_map", + "type": "visualizationObject" + } + }, + "title": "Orders by Location (Area map)", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 8, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_canada_order_volume_over_time", + "type": "insight", + "insight": { + "identifier": { + "id": "order_volume_over_time", + "type": "visualizationObject" + } + }, + "title": "Order Volume Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "row" + } + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Sales Details", + "description": "" + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 26 + } + }, + "widget": { + "localIdentifier": "widget_canada_product_details_categories", + "type": "insight", + "insight": { + "identifier": { + "id": "product_details_by_categories_and_brands", + "type": "visualizationObject" + } + }, + "title": "Product Details by Product Categories & Brands", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 17 + } + }, + "widget": { + "localIdentifier": "widget_canada_product_performance_trends", + "type": "insight", + "insight": { + "identifier": { + "id": "product_performance_trends", + "type": "visualizationObject" + } + }, + "title": "Product Performance Trends", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + } + ] + }, + "filterContextRef": { + "identifier": { + "id": "canada_tab_filterContext", + "type": "filterContext" + } + }, + "attributeFilterConfigs": [ + { + "mode": "hidden", + "localIdentifier": "customer_country_1_attributeFilter" + } + ] + } + ], + "version": "2" }, - "description": "Measures total revenue from processed orders, providing insights into sales performance and potential profitability.", - "id": "total_sales", - "title": "Total Sales" + "description": "Main executive dashboard with KPIs such as net sales, orders, active customers, and gross profit. Includes customer and sales insights by country and location, order fulfillment, revenue trend, and brand and product category breakdown. Organized in tabs for All Countries, US, and Canada. Suitable for high-level overview, main dashboard view, and executive summary of business performance.", + "id": "overview", + "title": "1. Overview" }, { "content": { - "format": "#,##0.0%", - "maql": "Select 0.01" + "filterContextRef": { + "identifier": { + "id": "products_filterContext", + "type": "filterContext" + } + }, + "layout": { + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Main Product KPIs", + "description": "Track key product performance KPIs by comparing the current period with the previous one." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_net_sales", + "type": "insight", + "insight": { + "identifier": { + "id": "net_sales_headline", + "type": "visualizationObject" + } + }, + "title": "Net Sales", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "sales_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d" + } + }, + "localIdentifier": "52bc03481dc34918867b71b491a6b5ff" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_net_orders", + "type": "insight", + "insight": { + "identifier": { + "id": "orders_processed_headline", + "type": "visualizationObject" + } + }, + "title": "Net Orders", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "order_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "eb334cab51954b9f83184eead11308bc" + } + }, + "localIdentifier": "15b0a66590244e46b7843fb1c390b2ad" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_gross_profit", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_headline", + "type": "visualizationObject" + } + }, + "title": "Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "gross_profit_trend", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb" + } + }, + "localIdentifier": "f2e2d88cecfc475c9361ac9c888de95a" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 3, + "gridHeight": 10 + } + }, + "widget": { + "localIdentifier": "widget_revenue_per_customer", + "type": "insight", + "insight": { + "identifier": { + "id": "average_sales_per_customer", + "type": "visualizationObject" + } + }, + "title": "Revenue per Customer", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "customer_orders_and_sales_details", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromMeasure", + "measure": { + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db" + } + }, + "localIdentifier": "8e627cd8a9214b378f0799b1d6dae0a4" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Sales, Customers & Profitability", + "description": "Provides a consolidated view of key sales, customer, and profitability metrics to track performance, identify trends, and support decision-making." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_sales_to_net_revenue", + "type": "insight", + "insight": { + "identifier": { + "id": "sales_to_net_revenue_breakdown", + "type": "visualizationObject" + } + }, + "title": "Sales to Net Revenue Breakdown", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 17 + } + }, + "widget": { + "localIdentifier": "widget_from_search_to_sale", + "type": "insight", + "insight": { + "identifier": { + "id": "from_search_to_sale_active_customers_vs_orders", + "type": "visualizationObject" + } + }, + "title": "From Search to Sale: Active Customers vs. Orders Placed", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 20 + } + }, + "widget": { + "localIdentifier": "widget_order_volume_over_time", + "type": "insight", + "insight": { + "identifier": { + "id": "order_volume_over_time", + "type": "visualizationObject" + } + }, + "title": "Order Volume Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 22 + } + }, + "widget": { + "localIdentifier": "widget_brand_profitability", + "type": "insight", + "insight": { + "identifier": { + "id": "brand_profitability_by_price_and_order_volume", + "type": "visualizationObject" + } + }, + "title": "Brand Profitability by Price and Order Volume", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "product_details_by_categories_and_brands", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromAttribute", + "attribute": { + "localIdentifier": "458f2a55e1ca457883ff36141c84dc48" + } + }, + "localIdentifier": "ffce1f3d5bde4286bc656e661032b9fd" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Performance Overview", + "description": "Provides detailed insights into product-level performance, including pricing, costs, sales trends, ratings, and category-level profitability over time." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 50 + } + }, + "widget": { + "localIdentifier": "widget_product_performance_trends", + "type": "insight", + "insight": { + "identifier": { + "id": "product_performance_trends", + "type": "visualizationObject" + } + }, + "title": "Product Performance Trends", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 52 + } + }, + "widget": { + "localIdentifier": "container_product_performance", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 19 + } + }, + "widget": { + "localIdentifier": "widget_revenue_forecast_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_overall_revenue_forecast_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "overall_revenue_forecast", + "type": "visualizationObject" + } + }, + "title": "Overall Revenue Forecast", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [ + { + "type": "dateHierarchyReference", + "dateHierarchyTemplate": "default", + "dateDatasetAttribute": { + "identifier": { + "id": "date.day", + "type": "attribute" + } + } + }, + { + "type": "attributeHierarchyReference", + "attributeHierarchy": "72a9b29c-d982-4a9d-b226-ebcd060801dc", + "attribute": { + "identifier": { + "id": "date.day", + "type": "attribute" + } + } + } + ], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_sales_performance_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "sales_performance_by_product_category_over_time", + "type": "visualizationObject" + } + }, + "title": "Sales Performance by Product Category Over Time", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [ + { + "type": "attributeHierarchyReference", + "attributeHierarchy": "ad14f0ed-9ba5-44ff-bd35-46ac2775a7ea", + "attribute": { + "identifier": { + "id": "product_category", + "type": "attribute" + } + } + } + ], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 14 + } + }, + "widget": { + "localIdentifier": "widget_gross_profit_by_category", + "type": "insight", + "insight": { + "identifier": { + "id": "gross_profit_by_product_category", + "type": "visualizationObject" + } + }, + "title": "Gross Profit by Product Category", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [ + { + "type": "drillToInsight", + "transition": "pop-up", + "target": { + "identifier": { + "id": "product_details_by_categories_and_brands", + "type": "visualizationObject" + } + }, + "origin": { + "type": "drillFromAttribute", + "attribute": { + "localIdentifier": "3e7c2309e28c4d4aba6ef58eff63b8b1" + } + }, + "localIdentifier": "611b80e203404dd4a7dd23f3eb687d9d" + } + ], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 6, + "gridHeight": 19 + } + }, + "widget": { + "localIdentifier": "widget_top_products_tabs", + "type": "visualizationSwitcher", + "visualizations": [ + { + "localIdentifier": "widget_top_sold_products_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "top_sold_products", + "type": "visualizationObject" + } + }, + "title": "Top Sold Products", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + }, + { + "localIdentifier": "widget_top_products_gross_profit_tab", + "type": "insight", + "insight": { + "identifier": { + "id": "top_products_by_gross_profit", + "type": "visualizationObject" + } + }, + "title": "Top Products by Gross Profit", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + ], + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" + } + } + } + ] + }, + { + "type": "IDashboardLayoutSection", + "header": { + "title": "Product Pricing & Demand Sensitivity", + "description": "Analyzes product pricing structures and price elasticity of demand by brand, highlighting cost–price relationships and customer responsiveness to price changes." + }, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 32 + } + }, + "widget": { + "localIdentifier": "container_product_pricing", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 28 + } + }, + "widget": { + "localIdentifier": "widget_product_pricing_breakdown", + "type": "insight", + "insight": { + "identifier": { + "id": "product_pricing_breakdown", + "type": "visualizationObject" + } + }, + "title": "Product Pricing Breakdown", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": {}, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 5, + "gridHeight": 4 + } + }, + "widget": { + "localIdentifier": "widget_pricing_legend", + "type": "richText", + "content": "\uD83D\uDFE3 Premium Margin Products, \uD83D\uDD35 Core Products, \uD83D\uDFE2 High-End Products, ⚫ Budget Products", + "description": "", + "title": "", + "drills": [], + "ignoreDashboardFilters": [] + } + } + ] + } + ], + "configuration": { + "sections": { + "enableHeader": false + }, + "direction": "column" + } + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 32 + } + }, + "widget": { + "localIdentifier": "container_price_elasticity", + "type": "IDashboardLayout", + "sections": [ + { + "type": "IDashboardLayoutSection", + "header": {}, + "items": [ + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 21 + } + }, + "widget": { + "localIdentifier": "widget_price_elasticity_by_brand", + "type": "insight", + "insight": { + "identifier": { + "id": "price_elasticity_by_product_brand", + "type": "visualizationObject" + } + }, + "title": "Price Elasticity by Product Brand", + "description": "", + "configuration": { + "hideTitle": false, + "description": { + "includeMetrics": false, + "source": "insight", + "visible": true + } + }, + "ignoreDashboardFilters": [], + "dateDataSet": { + "identifier": { + "id": "date", + "type": "dataset" + } + }, + "properties": { + "controls": { + "zoomInsight": true + } + }, + "drills": [], + "ignoredDrillDownHierarchies": [], + "drillDownIntersectionIgnoredAttributes": [] + } + }, + { + "type": "IDashboardLayoutItem", + "size": { + "xl": { + "gridWidth": 7, + "gridHeight": 11 + } + }, + "widget": { + "localIdentifier": "widget_elasticity_legend", + "type": "richText", + "content": "### Price Elasticity of Demand (PED) Breakdown\n---\n**Perfectly Inelastic (=0)**: Demand does not change at all with price\n\n---\n**Inelastic (0=150][backgroundcolor=C1E1C1]#,##0;\n[>=100][backgroundcolor=FFFAA0]#,##0;\n[>=50][backgroundcolor=FAC898]#,##0;\n[>0][backgroundcolor=FAA0A0]#,##0" - } + "negativeSelection": true, + "attributeElements": { + "uris": [] }, - { - "measure": { - "localIdentifier": "95f6e72bfef9412ba2160160f9fd4d50", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_returns", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Returns", - "format": "[>=10000][backgroundcolor=FAA0A0]$#,##0.00;\n[>=7500][backgroundcolor=FAC898]$#,##0.00;\n[>=5000][backgroundcolor=FFFAA0]$#,##0.00;\n[>=0][backgroundcolor=C1E1C1]$#,##0.00" - } - } - ], - "localIdentifier": "measures" + "localIdentifier": "product_category_filter", + "selectionMode": "multi" + } }, { - "items": [ - { - "attribute": { - "localIdentifier": "178008a70fe54aa984c6f83d2baafd96", - "displayForm": { - "identifier": { - "id": "product_id", - "type": "label" - } - }, - "alias": "Product ID" + "attributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "product_brand" } }, - { - "attribute": { - "localIdentifier": "79d724e2332948a0a24dd6c0521b13b6", - "displayForm": { - "identifier": { - "id": "product_name", - "type": "label" - } - }, - "alias": "Product Name" - } + "negativeSelection": true, + "attributeElements": { + "uris": [] }, - { - "attribute": { - "localIdentifier": "6739e068c7034cc0b9777403b192c60e", - "displayForm": { - "identifier": { - "id": "product_rating", - "type": "label" - } + "localIdentifier": "product_brand_filter", + "filterElementsBy": [ + { + "filterLocalIdentifier": "product_category_filter", + "over": { + "attributes": [] } } - } - ], - "localIdentifier": "attribute" - } - ], - "filters": [ + ], + "selectionMode": "multi" + } + }, { - "relativeDateFilter": { - "dataSet": { + "attributeFilter": { + "displayForm": { "identifier": { - "id": "date", - "type": "dataset" + "type": "label", + "id": "customer_country" } }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 + "negativeSelection": true, + "attributeElements": { + "uris": [] + }, + "localIdentifier": "customer_country_filter", + "selectionMode": "multi" } - } - ], - "sorts": [ + }, { - "measureSortItem": { - "direction": "asc", - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "e25b4512da744638b1e0b753f6b78cff" - } - } - ] - } - } - ], - "properties": { - "controls": { - "columnWidths": [ - { - "attributeColumnWidthItem": { - "attributeIdentifier": "6739e068c7034cc0b9777403b192c60e", - "width": { - "value": 107 - } + "attributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_city" } }, - { - "attributeColumnWidthItem": { - "attributeIdentifier": "79d724e2332948a0a24dd6c0521b13b6", - "width": { - "value": 467 + "negativeSelection": true, + "attributeElements": { + "uris": [] + }, + "localIdentifier": "customer_city_filter", + "filterElementsBy": [ + { + "filterLocalIdentifier": "customer_country_filter", + "over": { + "attributes": [] } } - } - ] + ], + "selectionMode": "multi" + } } - }, - "visualizationUrl": "local:table", - "version": "2" + ] }, - "description": "Ranks products by orders with ratings and return impact.", - "id": "1c0441a9-f0b1-4683-890e-225cf130b8ec", - "title": "Product Performance by Orders & Returns" + "id": "sales_filterContext", + "title": "" }, { "content": { - "buckets": [ + "filters": [ { - "items": [ - { - "measure": { - "localIdentifier": "09d1a954b824448dabccc750d223c519", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Net Sales" + "dateFilter": { + "type": "relative", + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1, + "localIdentifier": "0_dateFilter" + } + }, + { + "attributeFilter": { + "displayForm": { + "identifier": { + "id": "customer_country", + "type": "label" } - } - ], - "localIdentifier": "measures" + }, + "negativeSelection": false, + "attributeElements": { + "uris": [ + "United States" + ] + }, + "localIdentifier": "customer_country_1_attributeFilter", + "selectionMode": "multi" + } }, { - "items": [ - { - "attribute": { - "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", - "displayForm": { - "identifier": { - "id": "customer_name", - "type": "label" - } - }, - "alias": "Customer" + "attributeFilter": { + "displayForm": { + "identifier": { + "id": "customer_state", + "type": "label" } - } - ], - "localIdentifier": "view" - } - ], - "filters": [ + }, + "negativeSelection": true, + "attributeElements": { + "uris": [] + }, + "localIdentifier": "customer_state_2_attributeFilter", + "filterElementsBy": [ + { + "filterLocalIdentifier": "customer_country_1_attributeFilter", + "over": { + "attributes": [] + } + } + ], + "selectionMode": "multi" + } + }, { - "negativeAttributeFilter": { - "localIdentifier": "bff081c39c2b434391601d0f7e476e8d", + "attributeFilter": { "displayForm": { "identifier": { - "id": "customer_id", + "id": "product_category", "type": "label" } }, - "notIn": { + "negativeSelection": true, + "attributeElements": { "uris": [] - } + }, + "localIdentifier": "product_category_3_attributeFilter", + "selectionMode": "multi" } }, { - "rankingFilter": { - "measure": { - "localIdentifier": "09d1a954b824448dabccc750d223c519" + "attributeFilter": { + "displayForm": { + "identifier": { + "id": "product_brand", + "type": "label" + } }, - "operator": "BOTTOM", - "value": 10 + "negativeSelection": true, + "attributeElements": { + "uris": [] + }, + "localIdentifier": "product_brand_4_attributeFilter", + "filterElementsBy": [ + { + "filterLocalIdentifier": "product_category_3_attributeFilter", + "over": { + "attributes": [] + } + } + ], + "selectionMode": "multi" } } ], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "09d1a954b824448dabccc750d223c519" - } - ], - "xaxis": { - "name": { - "visible": false - } - }, - "yaxis": { - "name": { - "visible": false - } - } - } - }, - "visualizationUrl": "local:bar", "version": "2" }, - "description": "Highlights the bottom 10 customers ranked by total net sales, offering a clear view into the least valuable buyers by revenue contribution.", - "id": "2168550d-8146-472e-9654-db2e08e65a9c", - "title": "Bottom 10 Customers by Revenue" + "description": "", + "id": "us_tab_filterContext", + "title": "" + } + ], + "metrics": [ + { + "content": { + "format": "#,##0", + "maql": "SELECT (COUNT({label/customer_id},{label/order_line_id}))" + }, + "description": "Measures the total number of unique customers with orders, providing insights into active engagement and business performance.", + "id": "active_customers", + "title": "Active Customers" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT {metric/net_sales} / {metric/number_of_orders} BY ALL IN ALL OTHER DIMENSIONS" + }, + "description": "Measures the average quantity of items or units purchased per order across all time (ignoring date filters), providing a baseline for comparing period-specific order volume and customer purchasing behavior.", + "id": "all_time_average_order_volume", + "title": "Order Volume per Order (All Time)" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT {metric/net_sales}/{metric/active_customers}" + }, + "description": "Average Revenue per User (ARPU) measures the average revenue generated per active customer, providing insights into customer value and business performance.", + "id": "arpu", + "title": "Average Revenue per User" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT {metric/net_sales} / {metric/number_of_orders}" + }, + "description": "Measures the average quantity of items or units purchased per order within the selected time range or filters, helping assess customer purchasing behavior and sales performance for the analyzed period.", + "id": "average_order_volume", + "title": "Order Volume per Order (Period)" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT AVG({fact/order_unit_price})" + }, + "description": "Measures the average cost per unit of products, aiding in pricing strategy and enhancing profitability analysis.", + "id": "average_product_price", + "title": "Average Product Price" + }, + { + "content": { + "format": "#,##0", + "maql": "Select runavg({metric/number_of_orders})" + }, + "description": "Running average of the number of orders over the time grain in context. Supports trend analysis, smoothing of order volume over time, and reporting of average or rolling average orders.", + "id": "average_sales", + "title": "Average Orders" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT IFNULL({metric/cogs_orders},0) - IFNULL({metric/cogs_returns},0)" + }, + "description": "Measures the net cost of goods sold by factoring in order costs and returns, essential for pricing and profitability insights.", + "id": "cogs", + "title": "COGS" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT (IFNULL({metric/cogs_orders},0) - IFNULL({metric/cogs_returns},0))*(-1)" + }, + "description": "Measures the net cost of goods sold by factoring in order costs and returns, essential for pricing and profitability insights (in negative value).", + "id": "cogs_n", + "title": "COGS (negative)" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT SUM({fact/order_unit_cost}*{fact/order_unit_quantity}) WHERE {label/order_status} = \"Processed\"" + }, + "description": "Calculates total cost of goods sold for processed orders, aiding in pricing strategies and profit analysis.", + "id": "cogs_orders", + "title": "COGS for Processed Orders" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT SUM({fact/return_unit_cost}*{fact/return_unit_quantity})" + }, + "description": "Measures total return costs by multiplying unit costs with quantities, providing insights for profitability and inventory management.", + "id": "cogs_returns", + "title": "COGS for Returns" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT RSQ({fact/order_unit_cost}, {fact/order_unit_price})" + }, + "description": "Evaluates the degree to which variations in product costs predict variations in selling prices, based on the R-squared statistic.", + "id": "cost_vs_selling_price", + "title": "Cost vs Selling Price" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT {metric/arpu} * ({metric/number_of_orders} / COUNT({label/customer_id}))" + }, + "description": "Predicts the total revenue a customer generates over their lifetime.", + "id": "customer_lifetime_value_clv", + "title": "Customer Lifetime Value (CLV)" + }, + { + "content": { + "format": "#,##0.00%", + "maql": "select({metric/return_customers}/{metric/active_customers})" + }, + "description": "Measures the percentage of customers who continue purchasing from a business over a specific period, indicating loyalty and satisfaction.", + "id": "customer_retention_rate", + "title": "Customer Retention Rate" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT COUNT({label/customer_id})\nWHERE (\n SELECT COUNT({label/order_id})\n BY {label/customer_id}\n) > 1\n" + }, + "description": "Count of distinct customers who have placed more than one order in the context period. Supports identification of repeat buyers, analysis of customers with multiple orders, and segmentation of repeat or loyal customers.", + "id": "customers_with_multiple_orders", + "title": "Customers with Multiple Orders" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT COUNT({label/customer_id})\nWHERE (\n SELECT COUNT({label/order_id})\n BY {label/customer_id}\n) = 1\n" + }, + "description": "Count of distinct customers who have placed exactly one order in the context period. Supports identification of one-time buyers, analysis of customers with a single order, and segmentation of one-time customers for retention or follow-up.", + "id": "customers_with_single_order", + "title": "Customers with Single Order" + }, + { + "content": { + "format": "#,##0", + "maql": "Select 4" + }, + "description": "Constant target product rating value set to 4. Serves as a benchmark when comparing actual product ratings to a goal and supports analysis of desired rating or target rating versus actual performance.", + "id": "desired_product_rating", + "title": "Desired Product Rating" + }, + { + "content": { + "format": "#,##0.00%", + "maql": "select({metric/total_discounts}/({metric/total_sales}) )" + }, + "description": "Measures the percentage reduction applied to the original selling price of products or services, reflecting promotional strategies or negotiated pricing.", + "id": "discount_rate", + "title": "Discount Rate" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT {metric/net_sales} - {metric/cogs}" + }, + "description": "Measures profitability by calculating the difference between net sales and cost of goods sold, indicating financial health.", + "id": "gross_profit", + "title": "Gross Profit" + }, + { + "content": { + "format": "#,##0%", + "maql": "SELECT {metric/gross_profit}/{metric/net_sales}" + }, + "description": "Measures how much of each $1 of sales revenue remains after covering the direct costs of goods sold", + "id": "gross_profit_margin", + "title": "Gross Profit Margin" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "e6dd04f795544b26863ee6b61a9e1943", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Sales" - } - }, - { - "measure": { - "localIdentifier": "110499aa8f554d71ac54dd3615ad528b", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "cogs_n", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "COGS (negative)", - "alias": "COGS" - } - }, - { - "measure": { - "localIdentifier": "f1fe0f70463e4b339265514cfefbb91d", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_discounts_n", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Discounts (Negative)", - "alias": "Total Discounts" - } - }, - { - "measure": { - "localIdentifier": "941212a6f5b1463b995db8401dea85d1", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_returns_n", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Returns (Negative)", - "alias": "Total Returns" - } - } - ], - "localIdentifier": "measures" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "total": { - "enabled": true, - "name": "Gross Profit" - } - } - }, - "visualizationUrl": "local:waterfall", - "version": "2" + "format": "#,##0.00", + "maql": "SELECT {metric/cogs} / {metric/quantity_bom_by_year}" }, - "description": "Breaks down profitability by showing how total sales are reduced by costs, discounts, and returns, resulting in gross profit. It highlights the impact of each component on overall earnings.", - "id": "21976049-e470-4e72-a819-a40e8b158911", - "title": "Profitability Overview" + "description": "Measures how many times inventory is sold and replaced over a specific period.", + "id": "inventory_turnover_rate", + "title": "Inventory Turnover Rate" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "fe45bba8b9fe4e6a85258a93cdb49bda_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "fe45bba8b9fe4e6a85258a93cdb49bda", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] - } - }, - "alias": "Discount Rate - previous period" - } - }, - { - "measure": { - "localIdentifier": "fe45bba8b9fe4e6a85258a93cdb49bda", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "discount_rate", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Discount Rate", - "alias": "Discount Rate - current period" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "0a020bf47d9647a48ced4b95df1ce5b3", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } - } - } - } - ], - "localIdentifier": "view" - } - ], - "filters": [ - { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 - } - } - ], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "fe45bba8b9fe4e6a85258a93cdb49bda" - } - ], - "legend": { - "position": "top" - } - } - }, - "visualizationUrl": "local:column", - "version": "2" + "format": "#,##0.00%", + "maql": "select ((AVG({fact/order_unit_price})-Avg({fact/order_unit_cost}))/avg({fact/order_unit_cost}))" }, - "description": "Compares discount rates across product categories with the previous period to identify shifts in pricing strategies and promotional impact.", - "id": "23669d9c-091c-4e0f-8412-34d7a8a2fa49", - "title": "Discount Rate by Product Category" + "description": "Measures the percentage increase of the selling price over the product's cost, indicating how much profit margin is added on top of the cost.", + "id": "markup_percentage", + "title": "Markup Percentage" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "71c50d511eee498cbaed10aa030c17a2", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Sales" - } - }, - { - "measure": { - "localIdentifier": "4760531054d64a4987f787c638541958", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_product_costs", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Product Costs" - } - }, - { - "measure": { - "localIdentifier": "970df249ea064ac2a8a3cd3fb85da491", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_discounts_n", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Discounts (Negative)", - "alias": "Total Discounts", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" - } - }, - { - "measure": { - "localIdentifier": "f20087ee71f5459b8b5d9a341731f1fc", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_returns_n", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Returns (Negative)", - "alias": "Total Returns", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" - } - } - ], - "localIdentifier": "measures" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "total": { - "enabled": true, - "name": "Total" - } - } - }, - "visualizationUrl": "local:waterfall", - "version": "2" + "format": "#,##0.00", + "maql": "SELECT (select {metric/number_of_orders}WHERE {label/order_status} = \"Processed\") - (select {metric/number_of_orders} WHERE {label/order_status} = \"Canceled\")" }, - "description": "Illustrates how total sales are reduced by product costs, discounts, and returns to arrive at net revenue, highlighting key profit drivers and deductions.", - "id": "23a5b515-1b04-4940-bce5-3eeccfda0f83", - "title": "Sales to Net Revenue Breakdown" + "description": "Calculates the net number of orders by subtracting the number of canceled orders from the number of processed orders", + "id": "net_delivered_orders", + "title": "Net Delivered Orders" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "104c96ea71d54532b89eb4051f2e7178", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Net Sales" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "measure": { - "localIdentifier": "62590e9fa2e94beea323e3dfdb7c7273", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_orders", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Net Orders", - "alias": "Total Net Orders" - } - } - ], - "localIdentifier": "secondary_measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "f386a3232f77471f874e876731009926", - "displayForm": { - "identifier": { - "id": "product_brand", - "type": "label" - } - } - } - } - ], - "localIdentifier": "attribute" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "clustering": { - "enabled": true, - "numberOfClusters": "4" - }, - "dataLabels": { - "visible": "auto" - }, - "legend": { - "enabled": false - } - } - }, - "visualizationUrl": "local:scatter", - "version": "2" + "format": "#,##0", + "maql": "SELECT {metric/number_of_orders} WHERE {label/order_status} = \"Processed\"" }, - "description": "", - "id": "2486eb48-0d07-46e6-bc41-0e5ff102dcc8", - "title": "Brand Performance Segments: Sales vs. Orders" + "description": "Measures total processed orders, offering key insights into sales performance and customer engagement trends.", + "id": "net_orders", + "title": "Net Orders" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "43d47ba6d22c4447ab42f0c6dd779531", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "gross_profit", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Gross Profit" - } - }, - { - "measure": { - "localIdentifier": "68d98accca8341409b32d7cb867997d4", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_discounts", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Discounts" - } - }, - { - "measure": { - "localIdentifier": "85fc5c81563548dda143affb4a4fd1bd", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_returns", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Returns" - } - }, - { - "measure": { - "localIdentifier": "e35dbadd507744e98c0219fc53ff3887", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "cogs", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "COGS" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "47169ff5ce3b4193922b4f9b41199a2a", - "displayForm": { - "identifier": { - "id": "date.month", - "type": "label" - } - } - } - } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "02" - }, - "id": "43d47ba6d22c4447ab42f0c6dd779531" - }, - { - "color": { - "type": "guid", - "value": "01" - }, - "id": "68d98accca8341409b32d7cb867997d4" - }, - { - "color": { - "type": "guid", - "value": "04" - }, - "id": "85fc5c81563548dda143affb4a4fd1bd" - }, - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "e35dbadd507744e98c0219fc53ff3887" - } - ], - "stackMeasures": true - } - }, - "visualizationUrl": "local:column", - "version": "2" + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT {metric/total_sales} - IFNULL({metric/total_discounts}, 0) \n- IFNULL({metric/total_returns},0)" + }, + "description": "Calculates the total sales revenue after accounting for discounts and returns, providing a true measure of revenue generated from actual completed sales.", + "id": "net_sales", + "title": "Total Net Sales" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT (SELECT {metric/net_sales} FOR PreviousPeriod({label/date.day})) * 1.1" + }, + "description": "Measures the target revenue by increasing last period's net sales by 10%, guiding sales performance towards growth.", + "id": "net_sales_goal", + "title": "Net Sales Goal" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT {metric/active_customers} WHERE \n(SELECT COUNT({label/order_id}) BY {label/customer_id} WHERE {label/order_date.day} = {label/user_created_date.day}) > 0" + }, + "description": "Tracks new customers by counting those who made their first purchase, highlighting growth in customer acquisition.", + "id": "new_customers", + "title": "New Customers" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT COUNT({label/order_id},{label/order_line_id})" + }, + "description": "Measures total orders placed, providing insight into sales volume and customer engagement over time.", + "id": "number_of_orders", + "title": "# of Orders" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT SUM({fact/order_unit_quantity}*{fact/order_unit_price})" + }, + "description": "Measures the total monetary value of all orders placed within a specific period, combining the selling price of all items purchased.", + "id": "order_amount", + "title": "Total Order Amount" + }, + { + "content": { + "format": "#,##0.00%", + "maql": "select CORREL({fact/order_unit_price},{fact/order_unit_quantity})" + }, + "description": "Measures the strength and direction of the relationship between product price changes and the quantity sold.", + "id": "price_elasticity_of_demand", + "title": "Price Elasticity of Demand" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT AVG({fact/rating})" }, - "description": "Tracks monthly trends in Gross Profit, COGS, Discounts, and Returns to show how each component contributes to total sales.", - "id": "25bdccd8-ef39-40a5-a224-6031d0ab470c", - "title": "Total Sales Over Time" + "description": "Metric that computes the average of the product rating (numeric) across products, for use in analyses and comparisons.", + "id": "product_rating", + "title": "Average Product Rating" }, { "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "a3c7cd9f468a42e08fe019fac7fe3a49", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "product_rating", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Product Rating" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "measure": { - "localIdentifier": "17c0999359f44092ba0be6bc84b883d7", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "desired_product_rating", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Desired Product Rating" - } - } - ], - "localIdentifier": "secondary_measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "033b2d5d05cf4f6db69364f86e4ed451", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } - } - } - } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "01" - }, - "id": "a3c7cd9f468a42e08fe019fac7fe3a49" - } - ] - } - }, - "visualizationUrl": "local:bullet", - "version": "2" + "format": "#,##0", + "maql": "SELECT AVG({metric/number_of_orders}) BY {label/customer_id}\n" + }, + "description": "Calculates average number of orders by each customer.", + "id": "purchase_frequency_per_customer", + "title": "Purchase Frequency per Customer" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT SUM({fact/monthly_quantity_bom}) " + }, + "description": "Measures the total beginning-of-month inventory quantity for each year, helping track inventory levels over time.", + "id": "quantity_bom_by_year", + "title": "BOM Quantity by Year" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT {metric/active_customers} - IFNULL({metric/new_customers},0)" + }, + "description": "Calculates the number of returning customers helping to measure customer retention and repeat purchases", + "id": "return_customers", + "title": "Returning Customers" + }, + { + "content": { + "format": "#,##0.00", + "maql": "SELECT SUM({metric/net_sales}) BY {label/product_id}\n" + }, + "description": "Net sales (revenue) attributed to each product when the result is sliced by product. Serves as the basis for ranking products by revenue, showing revenue by product, and for the top products metric.", + "id": "revenue_by_product", + "title": "Revenue by Product" + }, + { + "content": { + "format": "#,##0.00", + "maql": "Select({metric/number_of_orders}/{metric/active_customers})" + }, + "description": "Measures the percentage of active customers who completed a purchase by placing at least one order.", + "id": "sales_conversion_rate", + "title": "Sales Conversion Rate" + }, + { + "content": { + "format": "#,##0.00", + "maql": "Select rank({metric/revenue_by_product}) DESC " + }, + "description": "Ranks products by net sales (revenue) when sliced by product. Higher rank corresponds to higher revenue. Supports identification of top products by sales, best-selling products by revenue, and revenue-based product ranking.", + "id": "top_products", + "title": "Top Products" + }, + { + "content": { + "format": "#,##0", + "maql": "SELECT COUNT({label/customer_id})" + }, + "description": "Measures the total number of unique customers, providing insights into customer base growth and engagement trends.", + "id": "total_customers", + "title": "Total Customers" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT SUM({fact/order_unit_discount}) WHERE {label/order_status}= \"Processed\"" + }, + "description": "Measures the total discounts applied on processed orders, highlighting sales effectiveness and customer engagement.", + "id": "total_discounts", + "title": "Total Discounts" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT -1 * {metric/total_discounts}" + }, + "description": "Measures the total discounts applied on processed orders, highlighting sales effectiveness and customer engagement (in negative value).", + "id": "total_discounts_n", + "title": "Total Discounts (Negative)" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "select sum({fact/order_unit_cost}*{fact/order_unit_quantity})*(-1)" + }, + "description": "Sum of cost across all order line items, computed as unit cost times quantity per line, stored as a negative number for reporting. Supports cost analysis, cost of goods sold (COGS) reporting, and understanding total product costs or cost of orders.", + "id": "total_product_costs", + "title": "Total Product Costs" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT SUM({fact/return_unit_paid_amount}*{fact/return_unit_quantity})" + }, + "description": "Measures total refunds issued for returned items as a positive amount, offering insights into return volume, sales adjustments, and customer satisfaction trends.", + "id": "total_returns", + "title": "Total Returns" + }, + { + "content": { + "format": "$#,##0.00", + "maql": "SELECT -1 * {metric/total_returns}" + }, + "description": "Measures total refunds as a negative value so it can be combined with sales in net revenue calculations; represents refunds issued for returned items and supports analysis of sales performance and customer satisfaction.", + "id": "total_returns_n", + "title": "Total Returns (Negative)" + }, + { + "content": { + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "maql": "SELECT {metric/order_amount} WHERE {label/order_status} = \"Processed\"" }, - "description": "Compares actual product ratings across categories against the desired benchmark to highlight performance gaps and improvement opportunities.", - "id": "27408dd0-16f9-4069-8562-268f99b9d626", - "title": "Product Ratings vs. Target" + "description": "Measures total revenue from processed orders, providing insights into sales performance and potential profitability.", + "id": "total_sales", + "title": "Total Sales" }, { "content": { + "format": "#,##0.0%", + "maql": "Select 0.01" + }, + "description": "Constant value 0.01 representing unit elasticity, i.e. price elasticity of demand equal to 1. Serves as a reference line or threshold when comparing product price elasticity and interpreting elasticity metrics.", + "id": "unit_elastic", + "title": "Unit Elastic" + } + ], + "visualizationObjects": [ + { + "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "4413261cc741489a8e1efa9c3f1829bd", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "order_unit_price", - "type": "fact" - } - }, - "aggregation": "avg", - "filters": [] - } - }, - "title": "Avg Order unit price", - "format": "#,##0.00" - } - }, - { - "measure": { - "localIdentifier": "edc9894ff32e4ad1973cc891a13ddb34", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "order_unit_cost", - "type": "fact" - } - }, - "aggregation": "avg", - "filters": [] - } - }, - "title": "Avg Order unit cost", - "format": "#,##0.00" - } - }, - { - "measure": { - "localIdentifier": "014202b206ed45e79e09c76f40c47689", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "4413261cc741489a8e1efa9c3f1829bd", - "edc9894ff32e4ad1973cc891a13ddb34" - ], - "operator": "difference" - } - }, - "alias": "Difference between Price and Cost", - "format": "#,##0.00" - } - }, - { - "measure": { - "localIdentifier": "f0d3db65e7904b6ca9fcef1756629c59", + "title": "Active customers", + "localIdentifier": "42e90cf4e6574301ac06d8cb16615b76", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "markup_percentage", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, "filters": [] } - }, - "title": "Markup Percentage" + } } }, { "measure": { - "localIdentifier": "82bdd95923f444d3bdd06300034f92ca", + "title": "Number of orders", + "localIdentifier": "384d4e26f35248f989d3670b1e31eca0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "cost_vs_selling_price", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Cost vs Selling Price" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "aca4a0106f1640909f324378f73ca05f", + "alias": "Country", + "localIdentifier": "1a8313218d6649ee8fd80905618bdeea", "displayForm": { "identifier": { - "id": "date.month", - "type": "label" + "type": "label", + "id": "customer_country" + } + } + } + }, + { + "attribute": { + "alias": "State", + "localIdentifier": "b1267f58d8444a569cbd9a6cee60fe2e", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_state" + } + } + } + }, + { + "attribute": { + "alias": "City", + "localIdentifier": "074a7c97193e4b78af97d6b8c1166d76", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_city" } } } } ], - "localIdentifier": "attribute" + "totals": [ + { + "type": "sum", + "measureIdentifier": "42e90cf4e6574301ac06d8cb16615b76", + "attributeIdentifier": "074a7c97193e4b78af97d6b8c1166d76" + }, + { + "type": "sum", + "measureIdentifier": "384d4e26f35248f989d3670b1e31eca0", + "attributeIdentifier": "074a7c97193e4b78af97d6b8c1166d76" + } + ] } ], - "filters": [], "sorts": [ { "attributeSortItem": { - "attributeIdentifier": "aca4a0106f1640909f324378f73ca05f", + "attributeIdentifier": "1a8313218d6649ee8fd80905618bdeea", "direction": "asc" } } ], - "properties": {}, - "visualizationUrl": "local:table", - "version": "2" + "filters": [], + "properties": { + "controls": { + "columnWidths": [ + { + "attributeColumnWidthItem": { + "width": { + "value": 110 + }, + "attributeIdentifier": "b1267f58d8444a569cbd9a6cee60fe2e" + } + }, + { + "attributeColumnWidthItem": { + "width": { + "value": 86 + }, + "attributeIdentifier": "1a8313218d6649ee8fd80905618bdeea" + } + } + ] + } + } }, - "description": "Shows the relationship between average unit cost and selling price over time, including markup and price-cost differences, to assess pricing strategy effectiveness and margin trends.", - "id": "2bd76854-1d97-4b19-b5cf-babce30f6b6b", - "title": "Cost vs. Selling Price Correlation in Details" + "description": "Displays the geographic distribution of active customers, helping identify key markets, regional engagement patterns, and areas of customer concentration.", + "id": "active_customers_and_orders_by_location", + "title": "Active Customers & Placed Orders by Location" }, { "content": { + "version": "2", + "visualizationUrl": "local:bar", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "62f0f79a45b04db8bb2933cd5e877917", + "title": "Active customers", + "localIdentifier": "439e0fada5bc43faa509a741b8846d92", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, - "filters": [] - } - }, - "title": "Net Orders" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "measure": { - "localIdentifier": "59dfdd9221b9422d8b0b20863eaa2d7c", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_sales", - "type": "metric" + "filters": [ + { + "negativeAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_country" + } + }, + "notIn": { + "values": [] + } + } } - }, - "filters": [] + ] } - }, - "title": "Total Net Sales" + } } } - ], - "localIdentifier": "secondary_measures" + ] }, { + "localIdentifier": "stack", "items": [ { "attribute": { - "localIdentifier": "1c237b9ea2464dc2aa360658e9595d42", + "localIdentifier": "4fd8550684774b5daf5c4479ed554f78", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "customer_country" } } } } - ], - "localIdentifier": "attribute" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "clustering": { - "enabled": false - }, - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "06" - }, - "id": "62f0f79a45b04db8bb2933cd5e877917" - } - ], "dataLabels": { - "visible": "auto" + "totalsVisible": false, + "visible": true }, "legend": { - "position": "bottom" + "position": "top" }, "xaxis": { - "min": "0" + "visible": false }, "yaxis": { - "min": "0" + "visible": false + }, + "grid": { + "enabled": false } } - }, - "visualizationUrl": "local:scatter", - "version": "2" + } }, - "description": "Highlights how each brand performs in terms of order count and revenue generation.", - "id": "2da13424-2a6b-4ed4-916c-9bbc002fdd1b", - "title": "Brand Performance: Net Sales vs. Orders" + "description": "Comparing each country’s share of active customers", + "id": "active_customers_by_country", + "title": "Active Customers by Country" }, { "content": { + "version": "2", + "visualizationUrl": "local:pushpin", "buckets": [ { + "localIdentifier": "location", "items": [ { "attribute": { - "localIdentifier": "ec6653c9ef8843d589038dc9da455574", + "localIdentifier": "7f37e3b480d04034a7390854f310af2b", "displayForm": { "identifier": { "id": "geo__customer_city__city_pushpin_latitude", @@ -6927,635 +8892,847 @@ } } } - ], - "localIdentifier": "location" + ] }, { + "localIdentifier": "size", "items": [ { "measure": { - "localIdentifier": "c9c1a6a146a244f695ad1b52733b283f", + "title": "Active customers", + "localIdentifier": "efa89ec92e984fa283bc1f6d9618b63c", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, "filters": [] } - }, - "title": "Active Customers" + } } } - ], - "localIdentifier": "size" + ] + }, + { + "localIdentifier": "color", + "items": [ + { + "measure": { + "title": "Number of orders", + "localIdentifier": "c94200defedd463793cac678b38bc49c", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "number_of_orders" + } + }, + "filters": [] + } + } + } + } + ] }, { + "localIdentifier": "segment", "items": [ { "attribute": { - "localIdentifier": "358f10b4220f4b708a14843e333b24b8", + "localIdentifier": "584ca23215324f5ea478b84262c5a307", "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "customer_country" } } } } - ], - "localIdentifier": "segment" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "latitude": "geo__customer_city__city_pushpin_latitude", - "legend": { - "enabled": true - }, "longitude": "geo__customer_city__city_pushpin_longitude", - "points": { - "groupNearbyPoints": false - }, - "tooltipText": "customer_city" + "latitude": "geo__customer_city__city_pushpin_latitude" } - }, - "visualizationUrl": "local:pushpin", - "version": "2" + } }, - "description": "Displays the distribution of active customers by country and state, allowing quick identification of key markets and regions with the highest customer concentration", - "id": "2f12ace7-e626-47f1-953d-5ae957ca108e", - "title": "Customers by Country and State" + "description": "Map visualization of active customers and order count by city, with color coding by country. Enables geographic analysis of where customers are concentrated, identification of key cities and regions by customer and order volume, and a spatial view of customer and order distribution.", + "id": "active_customers_by_location_cities", + "title": "Active Customers by Location" }, { "content": { + "version": "2", + "visualizationUrl": "local:pushpin", "buckets": [ { + "localIdentifier": "size", "items": [ { "measure": { - "localIdentifier": "d6c8bf3880714ab492910ae2440f193d", + "title": "Active customers", + "localIdentifier": "42e90cf4e6574301ac06d8cb16615b76", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Total Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "color", "items": [ { "measure": { - "localIdentifier": "595eb632b8ac4c02bb68547ef5be3ca3", + "title": "Number of orders", + "localIdentifier": "86757639074245439e81fd5ec3fb7ddf", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "inventory_turnover_rate", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Inventory Turnover Rate" + } } } - ], - "localIdentifier": "secondary_measures" + ] }, { + "localIdentifier": "segment", "items": [ { "attribute": { - "localIdentifier": "bee94ccd449446ce9482877276f813d4", + "localIdentifier": "e8301d83bae844fb97c405926c086628", "displayForm": { "identifier": { - "id": "date.quarter", - "type": "label" + "type": "label", + "id": "customer_country" } } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "dualAxis": true, - "legend": { - "position": "top" + "tooltipText": "customer_city", + "points": { + "groupNearbyPoints": false }, - "primaryChartType": "column", - "secondaryChartType": "line", - "secondary_yaxis": { - "measures": [ - "595eb632b8ac4c02bb68547ef5be3ca3" - ] - } + "longitude": "", + "latitude": "" } - }, - "visualizationUrl": "local:combo2", - "version": "2" + } }, - "description": "Tracks the relationship between Total Sales (bar chart) and Inventory Turnover Rate (line chart) across multiple quarters.", - "id": "315e1b40-75cb-46e1-a59e-51b57829d786", - "title": "Total Sales vs Inventory Turnover Rate Over Time" + "description": "Displays the geographic distribution of active customers, helping identify key markets, regional engagement patterns, and areas of customer concentration.", + "id": "active_customers_by_location_geo", + "title": "Active Customers by Location" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "b0d4be68d50c4a47b7cb93c1db0567a2", + "title": "Active customers", + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf", + "format": "[=null]0;\n[>=0]#,#0;\n[<0]-#,#0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Total Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { - "attribute": { - "localIdentifier": "5265910a54834686b8f40091125aa6a3", - "displayForm": { - "identifier": { - "id": "date.week", - "type": "label" + "measure": { + "alias": "Previous period", + "title": "Active customers - period ago", + "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "13f2358c2d2040fe8849757b2a5ddddf", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] } } } - } - ], - "localIdentifier": "trend" + } + ] + } + ], + "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } } ], - "filters": [], - "sorts": [], "properties": { "controls": { - "forecast": { - "enabled": false - }, - "xaxis": { - "rotation": "30" + "comparison": { + "enabled": true, + "isArrowEnabled": true, + "labelConfig": { + "isConditional": true + } } } - }, - "visualizationUrl": "local:line", - "version": "2" + } }, - "description": "Visualizes total sales performance over time, broken down by month and year, to help identify trends, seasonality, and fluctuations in revenue.", - "id": "34464ff6-a852-4585-bca8-c59514c23861", - "title": "Sales Trend" + "description": "Shows the number of active customers during the current period and compares it to the previous period to highlight changes in overall customer engagement.", + "id": "active_customers_headline", + "title": "Active Customers" }, { "content": { + "version": "2", + "visualizationUrl": "local:line", "buckets": [ { - "items": [ - { - "attribute": { - "localIdentifier": "f182f1163c5a4440b7b28cfb57c64f82", - "displayForm": { - "identifier": { - "id": "geo__customer_city__city_pushpin_latitude", - "type": "label" - } - } - } - } - ], - "localIdentifier": "location" - }, - { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "42e90cf4e6574301ac06d8cb16615b76", + "title": "Average sales", + "localIdentifier": "c4a72f5164264c618927853abc5eb9fa", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "metric", + "id": "average_sales" } }, "filters": [] } - }, - "title": "Active Customers" + } } } - ], - "localIdentifier": "size" + ] }, { + "localIdentifier": "trend", "items": [ { - "measure": { - "localIdentifier": "86757639074245439e81fd5ec3fb7ddf", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "number_of_orders", - "type": "metric" - } - }, - "filters": [] + "attribute": { + "alias": "Week/Year", + "localIdentifier": "7531cb00b26f4dadb81022ac6d983e66", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.week" } - }, - "title": "# of Orders" + } } } - ], - "localIdentifier": "color" + ] }, { + "localIdentifier": "segment", "items": [ { "attribute": { - "localIdentifier": "e8301d83bae844fb97c405926c086628", + "localIdentifier": "0ee08534e4a34a0c9c8373d119e0ce22", "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "product_category" } } } } - ], - "localIdentifier": "segment" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "latitude": "geo__customer_city__city_pushpin_latitude", - "longitude": "geo__customer_city__city_pushpin_longitude", - "points": { - "groupNearbyPoints": false - }, - "tooltipText": "customer_city" + "legend": { + "position": "top" + } } - }, - "visualizationUrl": "local:pushpin", - "version": "2" + } }, - "description": "Displays the geographic distribution of active customers, helping identify key markets, regional engagement patterns, and areas of customer concentration.", - "id": "3895bb55-4ddf-4d7e-96ed-7178009fd34e", - "title": "Active Customers by Location" + "description": "", + "id": "average_orders_breakdown", + "title": "Average Orders Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "eb334cab51954b9f83184eead11308bc", + "alias": "Sales per customer", + "title": "Arpu", + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "arpu" } }, "filters": [] } - }, - "title": "Net Orders" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { - "localIdentifier": "eb334cab51954b9f83184eead11308bc_previous_period", + "alias": "Previous period", + "title": "Arpu - period ago", + "localIdentifier": "5d0ce2b953c9471199c8293770cc19db_previous_period", "definition": { "previousPeriodMeasure": { - "measureIdentifier": "eb334cab51954b9f83184eead11308bc", + "measureIdentifier": "5d0ce2b953c9471199c8293770cc19db", "dateDataSets": [ { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "periodsAgo": 1 } ] } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 + "granularity": "GDC.time.month", + "from": 0, + "to": 0 } } ], - "sorts": [], "properties": { "controls": { "comparison": { - "calculationType": "change", "enabled": true, "isArrowEnabled": true, "labelConfig": { - "isConditional": true, - "unconditionalValue": "Change" + "isConditional": true } } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Shows the total number of processed orders for the current period, compared against the previous one. It helps track operational throughput and spot short-term changes in order volume.", - "id": "3ac5e106-b43e-4c87-9ef0-9315e02282bd", - "title": "Orders Processed" + "description": "Tracks the average revenue generated per customer this period, with comparison to the previous period to monitor growth in customer value.", + "id": "average_sales_per_customer", + "title": "Average Sales per Customer" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "8d5b4da63d5342bfb99062bcfd3d48cf", + "alias": "Total Net Sales - current period", + "title": "Net sales", + "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Total Net Sales", - "alias": "Net Sales" + } + } + }, + { + "measure": { + "alias": "Total Net Sales - previous period", + "title": "Net sales - period ago", + "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "df56dd6bf27543438288fd4bbee1bf84", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] + } + } + } + }, + { + "measure": { + "alias": "Difference between periods", + "title": "Difference of Net sales and Net sales - period ago", + "localIdentifier": "188041b8ba9c4a21a36cd24ad656bfd5", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "df56dd6bf27543438288fd4bbee1bf84", + "df56dd6bf27543438288fd4bbee1bf84_previous_period" + ], + "operator": "difference" + } + } } } - ], - "localIdentifier": "measures" + ] + }, + { + "localIdentifier": "view", + "items": [ + { + "attribute": { + "localIdentifier": "321468cc87124a9e810c18655595ff76", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_brand" + } + } + } + } + ] + } + ], + "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } + }, + { + "negativeAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "product_brand" + } + }, + "notIn": { + "values": [] + } + } }, { + "rankingFilter": { + "measure": { + "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84" + }, + "operator": "TOP", + "value": 10 + } + } + ], + "properties": { + "controls": { + "colorMapping": [ + { + "id": "df56dd6bf27543438288fd4bbee1bf84", + "color": { + "type": "guid", + "value": "06" + } + }, + { + "id": "188041b8ba9c4a21a36cd24ad656bfd5", + "color": { + "type": "guid", + "value": "03" + } + } + ], + "xaxis": { + "name": { + "visible": false + }, + "rotation": "30" + } + } + } + }, + "description": "Column chart of the top 10 brands ranked by net sales, with current period, previous period, and period-over-period difference. Supports identification of best-selling brands, ranking of brands by sales, and brand sales comparison across periods.", + "id": "best_selling_product_brands", + "title": "Best-selling Product Brands" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:bar", + "buckets": [ + { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "455307b5590a49b28fafa89999446b15", + "title": "Net sales", + "localIdentifier": "09d1a954b824448dabccc750d223c519", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Net Orders" + } } } - ], - "localIdentifier": "secondary_measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "f37382df24334dd5ae7756dbd9cc9137", + "alias": "Customer", + "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", "displayForm": { "identifier": { - "id": "date.day", - "type": "label" + "type": "label", + "id": "customer_name" } - }, - "alias": "Date" + } } } - ], - "localIdentifier": "view" + ] } ], + "sorts": [], "filters": [ { - "positiveAttributeFilter": { - "localIdentifier": "1731448c96a642dead34f6135664fb68", + "negativeAttributeFilter": { "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "customer_id" } }, - "in": { - "values": [ - "United States" - ] + "notIn": { + "values": [] } } + }, + { + "rankingFilter": { + "measure": { + "localIdentifier": "09d1a954b824448dabccc750d223c519" + }, + "operator": "BOTTOM", + "value": 10 + } } ], - "sorts": [], "properties": { "controls": { - "dualAxis": true, - "legend": { - "position": "top" - }, - "primaryChartType": "column", - "secondaryChartType": "line", - "secondary_yaxis": { - "format": "inherit", - "labelsEnabled": false, - "measures": [ - "455307b5590a49b28fafa89999446b15" - ], + "colorMapping": [ + { + "id": "09d1a954b824448dabccc750d223c519", + "color": { + "type": "guid", + "value": "03" + } + } + ], + "xaxis": { "name": { - "visible": true + "visible": false } }, - "xaxis": { + "yaxis": { "name": { "visible": false - }, - "rotation": "30" + } } } - }, - "visualizationUrl": "local:combo2", - "version": "2" + } }, - "description": "Tracks the daily trend of total net sales (columns) alongside net orders (line) for the U.S. market, providing insights into revenue patterns and fluctuations in customer purchasing activity over time.", - "id": "3e16ebe3-7753-40c6-abc1-f549e7bf4d6c", - "title": "Revenue Trend Over Time" + "description": "Highlights the bottom 10 customers ranked by total net sales, offering a clear view into the least valuable buyers by revenue contribution.", + "id": "bottom_10_customers_by_revenue", + "title": "Bottom 10 Customers by Revenue" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "0f489725fe26493fb5fdc3d2367c21ed", + "title": "Total sales - period ago", + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period", "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "average_product_price", - "type": "metric" + "previousPeriodMeasure": { + "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 } - }, - "filters": [] + ] } - }, - "title": "Average Product Price" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "a279058ddf724659b6b7cad14bd63404", + "title": "Total sales", + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "total_sales" } }, "filters": [] } - }, - "title": "Gross Profit" + } } - } - ], - "localIdentifier": "secondary_measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "7e4fe02cd17d4da38ec6d464646bbbb1", + "alias": "Total Sales Δ%", + "title": "Change of Total sales and Total sales - period ago", + "localIdentifier": "002b4e50878a444ea0fd40c8ef131426", + "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "50c4eb1f32f3435bba53634aa5203ad8", + "50c4eb1f32f3435bba53634aa5203ad8_previous_period" + ], + "operator": "change" + } + } + } + }, + { + "measure": { + "title": "Number of orders - period ago", + "localIdentifier": "26d6bd85379443619d6109592e42a575_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "26d6bd85379443619d6109592e42a575", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] + } + } + } + }, + { + "measure": { + "title": "Number of orders", + "localIdentifier": "26d6bd85379443619d6109592e42a575", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_amount", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Total Order Amount" + } + } + }, + { + "measure": { + "alias": "Orders Δ%", + "title": "Change of Number of orders and Number of orders - period ago", + "localIdentifier": "0144a27623e44d79acfba3facfc43274", + "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "26d6bd85379443619d6109592e42a575", + "26d6bd85379443619d6109592e42a575_previous_period" + ], + "operator": "change" + } + } } } - ], - "localIdentifier": "tertiary_measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "458f2a55e1ca457883ff36141c84dc48", + "alias": "Customer", + "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "customer_name" } } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "legend": { - "enabled": false, - "position": "right" - }, - "yaxis": { - "min": "0" + "sorts": [ + { + "attributeSortItem": { + "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb", + "direction": "asc" } } - }, - "visualizationUrl": "local:bubble", - "version": "2" + ], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } + }, + { + "rankingFilter": { + "measure": { + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" + }, + "operator": "BOTTOM", + "value": 10 + } + } + ], + "properties": {} }, - "description": "Compares brands based on their average product price, gross profit, and order volume to highlight overall performance.", - "id": "405034d6-ab9c-462a-a88e-3172598adc65", - "title": "Brand Profitability by Price and Order Volume" + "description": "Highlights the bottom 10 customers ranked by total net sales, offering a clear view into the least valuable buyers by revenue contribution.", + "id": "bottom_10_customers_by_revenue_details", + "title": "Bottom 10 Customers by Revenue (Details)" }, { "content": { @@ -7564,577 +9741,647 @@ "items": [ { "measure": { - "localIdentifier": "ec39060b8362444e9fe4bacb7c6e4c2b", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_discounts", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Discounts", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" - } - }, - { - "measure": { - "localIdentifier": "50fe87b2aed5402c83560cec490b184d", + "localIdentifier": "104c96ea71d54532b89eb4051f2e7178", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_returns", + "id": "net_sales", "type": "metric" } }, "filters": [] } }, - "title": "Total Returns", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + "title": "Total Net Sales" } - }, + } + ], + "localIdentifier": "measures" + }, + { + "items": [ { "measure": { - "localIdentifier": "85c76738129d4167bd339128e9f83100", + "localIdentifier": "62590e9fa2e94beea323e3dfdb7c7273", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "cogs", + "id": "net_orders", "type": "metric" } }, "filters": [] } }, - "title": "COGS", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + "title": "Net Orders", + "alias": "Total Net Orders" } - }, + } + ], + "localIdentifier": "secondary_measures" + }, + { + "items": [ { - "measure": { - "localIdentifier": "dc5f7ccc7b274b2cb02d2923b791b366", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "gross_profit", - "type": "metric" - } - }, - "filters": [] + "attribute": { + "localIdentifier": "f386a3232f77471f874e876731009926", + "displayForm": { + "identifier": { + "id": "product_brand", + "type": "label" } - }, - "title": "Gross Profit" + } } } ], - "localIdentifier": "measures" + "localIdentifier": "attribute" } ], "filters": [], "sorts": [], "properties": { "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "02" - }, - "id": "dc5f7ccc7b274b2cb02d2923b791b366" - }, - { - "color": { - "type": "guid", - "value": "04" - }, - "id": "50fe87b2aed5402c83560cec490b184d" - }, - { - "color": { - "type": "guid", - "value": "06" - }, - "id": "ec39060b8362444e9fe4bacb7c6e4c2b" - } - ], + "clustering": { + "enabled": true, + "numberOfClusters": 4 + }, "dataLabels": { "visible": "auto" }, "legend": { - "position": "top" + "enabled": false } } }, - "visualizationUrl": "local:donut", + "visualizationUrl": "local:scatter", "version": "2" }, - "description": "Breaks down total sales into key financial components — COGS (Cost of Goods Sold), Gross Profit, Total Discounts, and Total Returns — offering a clear view of how revenue is distributed across profitability and cost factors.", - "id": "41a8d4c3-1ab6-4bab-b531-5893912e9b93", - "title": "Total Sales Breakdown" + "description": "", + "id": "brand_performance_segments_sales_vs_orders", + "title": "Brand Performance Segments: Sales vs. Orders" }, { "content": { + "version": "2", + "visualizationUrl": "local:bubble", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "d612ec37e5a04727bb20def0935e4fab", + "title": "Average product price", + "localIdentifier": "0f489725fe26493fb5fdc3d2367c21ed", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "average_product_price" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } - }, + } + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ { "measure": { - "localIdentifier": "ff456d9200d34b0aa1e2bd5e8bff6b99", + "title": "Gross profit", + "localIdentifier": "a279058ddf724659b6b7cad14bd63404", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, "filters": [] } - }, - "title": "Gross Profit" + } } - }, + } + ] + }, + { + "localIdentifier": "tertiary_measures", + "items": [ { "measure": { - "localIdentifier": "28cee096bf4141a29ffe0bc41806e4c3", + "title": "Order amount", + "localIdentifier": "7e4fe02cd17d4da38ec6d464646bbbb1", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit_margin", - "type": "metric" + "type": "metric", + "id": "order_amount" } }, "filters": [] } - }, - "title": "Gross Profit Margin" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "525c659241bb4d6fbe2ab74aa37150f1", - "displayForm": { - "identifier": { - "id": "customer_country", - "type": "label" - } - } - } - }, - { - "attribute": { - "localIdentifier": "a6b19dd405cb4c1da462426af2f298ba", + "localIdentifier": "458f2a55e1ca457883ff36141c84dc48", "displayForm": { "identifier": { - "id": "product_category", - "type": "label" + "type": "label", + "id": "product_brand" } } } } - ], - "localIdentifier": "attribute", - "totals": [ - { - "type": "sum", - "measureIdentifier": "d612ec37e5a04727bb20def0935e4fab", - "attributeIdentifier": "a6b19dd405cb4c1da462426af2f298ba" - }, - { - "type": "sum", - "measureIdentifier": "ff456d9200d34b0aa1e2bd5e8bff6b99", - "attributeIdentifier": "a6b19dd405cb4c1da462426af2f298ba" - } ] } ], + "sorts": [], "filters": [], - "sorts": [ - { - "attributeSortItem": { - "attributeIdentifier": "525c659241bb4d6fbe2ab74aa37150f1", - "direction": "asc" + "properties": { + "controls": { + "legend": { + "enabled": false, + "position": "right" + }, + "yaxis": { + "min": "0" } } - ], - "properties": {}, - "visualizationUrl": "local:table", - "version": "2" + } }, - "description": "Breaks down sales and profit metrics by country and product category for comparative analysis.", - "id": "469e8936-ca67-4987-8c70-0e35be24be4d", - "title": "Sales Details" + "description": "Compares brands based on their average product price, gross profit, and order volume to highlight overall performance.", + "id": "brand_profitability_by_price_and_order_volume", + "title": "Brand Profitability by Price and Order Volume" }, { "content": { + "version": "2", + "visualizationUrl": "local:combo2", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "2f2234037eed4600bcf6a670cbf2207d", + "alias": "# of Processed Orders", + "title": "Number of orders", + "localIdentifier": "03f2ab0030e24e438cd6e0294fcb650c", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "new_customers", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, - "filters": [] + "filters": [ + { + "negativeAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "order_status" + } + }, + "notIn": { + "values": [ + "In Cart", + "Canceled" + ] + } + } + } + ] } - }, - "title": "New Customers" + } } - }, + } + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ { "measure": { - "localIdentifier": "c546e3940d9b454ca31027a83c236ffc", + "alias": "# of Canceled Orders", + "title": "Number of orders", + "localIdentifier": "f917ac33c3f240498d42572f9b6926e8", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "return_customers", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, - "filters": [] + "filters": [ + { + "positiveAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "order_status" + } + }, + "in": { + "values": [ + "Canceled" + ] + } + } + } + ] } - }, - "title": "Returning Customers" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "eebed04fe2054d109c35bc4c34609a56", + "alias": "Week/Year", + "localIdentifier": "487a6cb19b6940c6befa2961a557a246", "displayForm": { "identifier": { - "id": "date.day", - "type": "label" + "type": "label", + "id": "date.week" } - }, - "alias": "Date" + } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { "colorMapping": [ { + "id": "f917ac33c3f240498d42572f9b6926e8", "color": { "type": "guid", - "value": "02" - }, - "id": "2f2234037eed4600bcf6a670cbf2207d" + "value": "03" + } }, { + "id": "03f2ab0030e24e438cd6e0294fcb650c", + "color": { + "type": "guid", + "value": "01" + } + } + ], + "legend": { + "position": "top" + }, + "xaxis": { + "rotation": "30" + }, + "secondary_yaxis": { + "measures": [ + "f917ac33c3f240498d42572f9b6926e8" + ] + } + } + } + }, + "description": "Tracks the monthly trend of completed (processed) vs. canceled orders. It helps identify fluctuations in order fulfillment and highlights periods of increased cancellations or consistent completions.", + "id": "completed_vs_canceled_orders_trend", + "title": "Completed vs. Canceled Orders Trend" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:column", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ + { + "measure": { + "title": "Active customers", + "localIdentifier": "5e48381a1cfb4b79928cf63d31222b26", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "active_customers" + } + }, + "filters": [] + } + } + } + } + ] + }, + { + "localIdentifier": "view", + "items": [ + { + "attribute": { + "localIdentifier": "a767288b1175410fb8eb791574ff2287", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.hourOfDay" + } + } + } + } + ] + } + ], + "sorts": [], + "filters": [], + "properties": { + "controls": { + "colorMapping": [ + { + "id": "5e48381a1cfb4b79928cf63d31222b26", "color": { "type": "guid", "value": "06" - }, - "id": "c546e3940d9b454ca31027a83c236ffc" + } } ], - "stackMeasures": true, "xaxis": { "name": { "visible": false } } } - }, - "visualizationUrl": "local:column", - "version": "2" + } }, - "description": "Shows daily counts of new vs. returning customers over time. It highlights customer acquisition and retention trends, helping evaluate the balance between attracting new users and maintaining loyalty among existing one", - "id": "48000537-4586-4a1e-a9a5-8eda7f8151a8", - "title": "New vs. Returning Customers" + "description": "Displays how customer activity is distributed across different hours of the day, helping identify peak engagement times and optimize operations or marketing efforts.", + "id": "customer_activity_by_hour", + "title": "Customer Activity by Hour" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3", + "title": "Active customers", + "localIdentifier": "7ce40a8c66e64268820ef5d67ece0a46", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "active_customers" + } + }, + "filters": [] + } + } + } + }, + { + "measure": { + "title": "Number of orders", + "localIdentifier": "f14775c542ee4341aad961ed334eabf7", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "return_customers", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Returning Customers" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3_previous_period", + "alias": "# of Returns", + "title": "Sum of Return unit quantity", + "localIdentifier": "3904fc7f78874c279559ccf0e09a171f", + "format": "#,##0", "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 + "measureDefinition": { + "item": { + "identifier": { + "type": "fact", + "id": "return_unit_quantity" } - ] + }, + "aggregation": "sum", + "filters": [] } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" - } - ], - "filters": [ + ] + }, { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" + "localIdentifier": "view", + "items": [ + { + "attribute": { + "alias": "Date", + "localIdentifier": "eebed04fe2054d109c35bc4c34609a56", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.week" + } + } } - }, - "granularity": "GDC.time.month", - "from": 0, - "to": 0 - } + } + ] } ], "sorts": [], + "filters": [], "properties": { "controls": { - "comparison": { - "enabled": true, - "isArrowEnabled": true, - "labelConfig": { - "isConditional": true + "xaxis": { + "name": { + "visible": false } } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Shows the number of customers who made repeat purchases this period, compared to the previous period, to help assess customer retention and loyalty trends.\"", - "id": "4cea4177-37c5-4196-8aab-c6bf60dc1f22", - "title": "Returning Customers" + "description": "Shows daily counts of new vs. returning customers over time. It highlights customer acquisition and retention trends, helping evaluate the balance between attracting new users and maintaining loyalty among existing one", + "id": "customer_activity_over_time", + "title": "Customer Activity Over Time" }, { "content": { + "version": "2", + "visualizationUrl": "local:scatter", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "a42c7fae73a54765b89e23f0ebc83678", + "title": "Customer lifetime value clv", + "localIdentifier": "0b7702b91bb74888ae7ca03a99077386", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit_margin", - "type": "metric" + "type": "metric", + "id": "customer_lifetime_value_clv" } }, "filters": [] } - }, - "title": "Gross Profit Margin" + } } - }, + } + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ { "measure": { - "localIdentifier": "7e148773a5e94c28a367eb18f4b3d206", + "title": "Purchase frequency per customer", + "localIdentifier": "0f215a98445f4adea20e7c4f7c91dfd2", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "purchase_frequency_per_customer" } }, "filters": [] } - }, - "title": "Gross Profit" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "deb150afe30946e989f6a54bb3a6d4e7", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } - } - } - }, - { - "attribute": { - "localIdentifier": "644c713693514146b8c2b0f788313960", + "localIdentifier": "c302d0db67ef43a8900b8f8044d18079", "displayForm": { "identifier": { - "id": "product_name", - "type": "label" + "type": "label", + "id": "date.day" } } } } - ], - "localIdentifier": "attribute", - "totals": [ - { - "type": "sum", - "measureIdentifier": "7e148773a5e94c28a367eb18f4b3d206", - "attributeIdentifier": "644c713693514146b8c2b0f788313960" - } ] } ], + "sorts": [], "filters": [], - "sorts": [ - { - "attributeSortItem": { - "attributeIdentifier": "deb150afe30946e989f6a54bb3a6d4e7", - "direction": "asc" - } - } - ], "properties": { "controls": { - "columnWidths": [ + "colorMapping": [ { - "attributeColumnWidthItem": { - "attributeIdentifier": "644c713693514146b8c2b0f788313960", - "width": { - "value": 500 - } + "id": "0b7702b91bb74888ae7ca03a99077386", + "color": { + "type": "guid", + "value": "02" } } - ] + ], + "xaxis": { + "min": "0" + }, + "clustering": { + "numberOfClusters": 4, + "threshold": 0.02 + } } - }, - "visualizationUrl": "local:table", - "version": "2" + } }, - "description": "Breaks down gross profit and margin by product and category for detailed profitability insights.", - "id": "5297352c-7fd3-4e7e-90ad-026e470f55bd", - "title": "Product-Level Profitability Breakdown" + "description": "Compares Customer Lifetime Value (CLV) with Purchase Frequency. Each dot represents a customer group, helping identify loyal high-value customers and spot behavioral trends.", + "id": "customer_lifetime_value_clv_vs_purchase", + "title": "Customer Lifetime Value (CLV) vs. Purchase Frequency" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { + "title": "Number of orders", "localIdentifier": "74047aaaa1904be3a0f08d6cf46606b2", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "# of Orders" + } } }, { "measure": { + "title": "Order amount", "localIdentifier": "0442893010af41168bebbd2b18dd1b30", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_amount", - "type": "metric" + "type": "metric", + "id": "order_amount" } }, "filters": [] } - }, - "title": "Total Order Amount" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { "localIdentifier": "b6e6b9cd507a433997f3da4dd929cb2e", "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "customer_country" } } } @@ -8144,8 +10391,8 @@ "localIdentifier": "619a8767a0624c9da9411cbdc73cd239", "displayForm": { "identifier": { - "id": "customer_state", - "type": "label" + "type": "label", + "id": "customer_state" } } } @@ -8155,29 +10402,27 @@ "localIdentifier": "a3521bb3c9584e9491cd70c0f99e4886", "displayForm": { "identifier": { - "id": "customer_city", - "type": "label" + "type": "label", + "id": "customer_city" } } } }, { "attribute": { + "alias": "Customer", "localIdentifier": "f8f9f6b624cc4abeac89a060667159c2", "displayForm": { "identifier": { - "id": "customer_name", - "type": "label" + "type": "label", + "id": "customer_name" } - }, - "alias": "Customer" + } } } - ], - "localIdentifier": "attribute" + ] } ], - "filters": [], "sorts": [ { "attributeSortItem": { @@ -8186,819 +10431,935 @@ } } ], - "properties": {}, - "visualizationUrl": "local:table", - "version": "2" + "filters": [], + "properties": {} }, "description": "Displays customer order counts and total sales amounts, organized by country, state, and city, providing detailed insights into customer activity and revenue contributions by region.", - "id": "543cadbb-10b4-4153-b810-52586df7aa0e", + "id": "customer_orders_and_sales_details", "title": "Customer Orders and Sales Details" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "c9c1a6a146a244f695ad1b52733b283f", + "title": "Customer retention rate", + "localIdentifier": "0b28ab87a0b947ba840501b2874dbde4", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "metric", + "id": "customer_retention_rate" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Active Customers" + } } } - ], - "localIdentifier": "measures" + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ + { + "measure": { + "alias": "Previous period", + "title": "Customer retention rate - period ago", + "localIdentifier": "0b28ab87a0b947ba840501b2874dbde4_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "0b28ab87a0b947ba840501b2874dbde4", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] + } + } + } + } + ] + } + ], + "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "granularity": "GDC.time.month", + "from": 0, + "to": 0 + } + } + ], + "properties": { + "controls": { + "comparison": { + "enabled": true + } + } + } + }, + "description": "Shows the monthly customer retention rate compared to the previous period, highlighting performance changes over time", + "id": "customer_retention_rate", + "title": "Customer Retention Rate" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:line", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ + { + "measure": { + "title": "Customer retention rate", + "localIdentifier": "40fe9d0d5a464dc5ab6bd254ad4eaaf7", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "customer_retention_rate" + } + }, + "filters": [] + } + } + } + } + ] }, { + "localIdentifier": "trend", "items": [ { "attribute": { - "localIdentifier": "ad12d182065d4fd3aba4aff5bfff1ee4", + "alias": "Week/Year", + "localIdentifier": "edf5399fb9cb47c5b8b7bcbb04dad478", "displayForm": { "identifier": { - "id": "customer_state", - "type": "label" + "type": "label", + "id": "date.week" } } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "legend": { - "enabled": false + "forecast": { + "enabled": true, + "confidence": 0.7, + "period": 6 } } - }, - "visualizationUrl": "local:treemap", - "version": "2" + } }, - "description": "Shows active customer distribution by state/province.", - "id": "544ee04b-7fcc-41a3-8323-852de0613815", - "title": "Active Customers by State" + "description": "Line chart of weekly customer retention rate over time with a 6-period forecast. Shows historical retention trend and projected retention for the next six periods. Supports retention rate forecasting, analysis of retention trend and projection, and tracking of customer retention trend over time.", + "id": "customer_retention_rate_forecast", + "title": "Customer Retention Rate Forecast" }, { "content": { + "version": "2", + "visualizationUrl": "local:donut", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "0282c89727d946a5894408ff0ec5d08a", + "title": "Customers with single order", + "localIdentifier": "daa241c08b38415eba052764fdc7dcf7", + "format": "#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "customers_with_single_order" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Total Net Sales" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { - "attribute": { - "localIdentifier": "201cb9fad4504784abd75c9e60198a3f", - "displayForm": { - "identifier": { - "id": "date.day", - "type": "label" + "measure": { + "title": "Customers with multiple orders", + "localIdentifier": "9f50f58c4e2a44b98219fed099dcf677", + "format": "#,##0", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "customers_with_multiple_orders" + } + }, + "filters": [] } } } } - ], - "localIdentifier": "trend" + ] } ], - "filters": [], "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } + } + ], "properties": { "controls": { - "forecast": { - "confidence": 0.7, - "enabled": true, - "period": "7" + "dataLabels": { + "visible": "auto" + }, + "legend": { + "position": "top" } } - }, - "visualizationUrl": "local:line", - "version": "2" + } }, - "description": "", - "id": "5afcc5f4-85a5-43cf-b4d4-d244c694b316", - "title": "Overall Revenue Forecast" + "description": "Shows counts of new vs. returning customers by picked period.", + "id": "customers_breakdown", + "title": "Customers Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:pushpin", "buckets": [ { + "localIdentifier": "location", + "items": [ + { + "attribute": { + "localIdentifier": "a1c553902ecb4ab7b2b08ebe81062c7e", + "displayForm": { + "identifier": { + "id": "geo__customer_city__city_pushpin_latitude", + "type": "label" + } + } + } + } + ] + }, + { + "localIdentifier": "size", "items": [ { "measure": { - "localIdentifier": "aff217f5be79438aa7053d7e15c7a3a7", + "title": "Active customers", + "localIdentifier": "c9c1a6a146a244f695ad1b52733b283f", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, "filters": [] } - }, - "title": "Net Orders" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "segment", "items": [ { "attribute": { - "localIdentifier": "f8b013634b8d4d56b68031bcd8ce7b63", + "localIdentifier": "358f10b4220f4b708a14843e333b24b8", "displayForm": { "identifier": { - "id": "product_name", - "type": "label" + "type": "label", + "id": "customer_country" } - }, - "alias": "Product name" + } } } - ], - "localIdentifier": "view" - } - ], - "filters": [ - { - "rankingFilter": { - "measure": { - "localIdentifier": "aff217f5be79438aa7053d7e15c7a3a7" - }, - "operator": "TOP", - "value": 10 - } + ] } ], "sorts": [], + "filters": [], "properties": { "controls": { - "xaxis": { - "name": { - "visible": false - } + "points": { + "groupNearbyPoints": false }, - "yaxis": { - "name": { - "visible": false - } - } + "longitude": "geo__customer_city__city_pushpin_longitude", + "latitude": "geo__customer_city__city_pushpin_latitude" } - }, - "visualizationUrl": "local:bar", - "version": "2" + } }, - "description": "highlights the top 10 best-selling products based on net order volume. It provides a clear comparison of which items are leading in sales performance, helping identify high-demand products.", - "id": "603bbd58-ea50-4607-ad20-418bd95c06c8", - "title": "Top Sold Products" + "description": "Displays the distribution of active customers by country and state, allowing quick identification of key markets and regions with the highest customer concentration", + "id": "customers_by_country_and_state", + "title": "Customers by Country and State" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "09d1a954b824448dabccc750d223c519", + "title": "Customers with multiple orders", + "localIdentifier": "d5c013a351ca42318c1d9d81a81d32ff", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "customers_with_multiple_orders" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { - "attribute": { - "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", - "displayForm": { - "identifier": { - "id": "customer_name", - "type": "label" + "measure": { + "alias": "Previous period", + "title": "Customers with multiple orders - period ago", + "localIdentifier": "d5c013a351ca42318c1d9d81a81d32ff_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "d5c013a351ca42318c1d9d81a81d32ff", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] } - }, - "alias": "Customer" + } } } - ], - "localIdentifier": "view" + ] } ], + "sorts": [], "filters": [ { - "negativeAttributeFilter": { - "localIdentifier": "bff081c39c2b434391601d0f7e476e8d", - "displayForm": { + "relativeDateFilter": { + "dataSet": { "identifier": { - "id": "customer_id", - "type": "label" + "type": "dataset", + "id": "date" } }, - "notIn": { - "uris": [] - } - } - }, - { - "rankingFilter": { - "measure": { - "localIdentifier": "09d1a954b824448dabccc750d223c519" - }, - "operator": "TOP", - "value": 10 + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 } } ], - "sorts": [], "properties": { "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "06" - }, - "id": "09d1a954b824448dabccc750d223c519" - } - ], - "xaxis": { - "name": { - "visible": false - } - }, - "yaxis": { - "name": { - "visible": false - } + "comparison": { + "enabled": true } } - }, - "visualizationUrl": "local:bar", - "version": "2" + } }, - "description": "Highlights the top 10 customers ranked by total net sales, offering a clear view into the most valuable buyers by revenue contribution.", - "id": "607e9724-37ed-44f6-9fb4-55676d58df6e", - "title": "Top 10 Customers by Revenue" + "description": "Headline that shows the number of customers with more than one order in the current quarter and in the previous quarter. Supports analysis of repeat customer count, identification of loyal or multi-order customers, and quarter-over-quarter comparison of customer loyalty metrics.", + "id": "customers_with_multiple_orders", + "title": "Customers with Multiple Orders" }, { "content": { + "version": "2", + "visualizationUrl": "local:combo2", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "442792c638df4c0283af94d95a1d3612_pop", + "title": "Active customers", + "localIdentifier": "3534dfb21fb34190bac813f353450d91", "definition": { - "popMeasureDefinition": { - "measureIdentifier": "442792c638df4c0283af94d95a1d3612", - "popAttribute": { + "measureDefinition": { + "item": { "identifier": { - "id": "date.year", - "type": "attribute" + "type": "metric", + "id": "active_customers" } - } + }, + "filters": [] } - }, - "alias": "Previous period" + } } - }, + } + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ { "measure": { - "localIdentifier": "442792c638df4c0283af94d95a1d3612", + "alias": "Placed Orders", + "title": "Number of orders", + "localIdentifier": "0d17b3c6e1b847eb8a03a605808a26fa", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Total Net Sales", - "alias": "Current period" - } - }, - { - "measure": { - "localIdentifier": "bbc213b8c5c643e5a31a69143280f16c", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "442792c638df4c0283af94d95a1d3612", - "442792c638df4c0283af94d95a1d3612_pop" - ], - "operator": "difference" - } - }, - "alias": "Difference between periods", - "format": "#,##0.00" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "1b9548824b3d4ade9666659cf8cda074", + "alias": "Week/Year", + "localIdentifier": "b9f507c72faa4e3e840d2050f18de1c7", "displayForm": { "identifier": { - "id": "date.weekOfYear", - "type": "label" + "type": "label", + "id": "date.week" } } } } - ], - "localIdentifier": "view" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.month", - "from": -11, - "to": 0 + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 } } ], - "sorts": [], "properties": { "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "06" - }, - "id": "442792c638df4c0283af94d95a1d3612" - }, - { - "color": { - "type": "guid", - "value": "01" - }, - "id": "bbc213b8c5c643e5a31a69143280f16c" - } - ], + "dataPoints": { + "visible": false + }, + "dataLabels": { + "visible": false + }, + "legend": { + "position": "top" + }, "xaxis": { + "rotation": "30" + }, + "primaryChartType": "line", + "yaxis": { + "rotation": "90" + }, + "secondaryChartType": "column", + "secondary_yaxis": { + "measures": [ + "0d17b3c6e1b847eb8a03a605808a26fa" + ], "name": { - "visible": true + "position": "middle" }, - "rotation": "0", - "visible": true + "rotation": "90" } } - }, - "visualizationUrl": "local:column", - "version": "2" + } }, - "description": "Tracks daily net sales over the past 12 months and compares them to the same period in the previous year, helping identify growth patterns, seasonal shifts, and performance trends.", - "id": "60dd3592-1322-4260-aaad-bd51cdcb1343", - "title": "Total Net Sales: Current vs. Last Year" + "description": "Shows the relationship between active website customers and the number of successfully processed orders", + "id": "from_search_to_sale_active_customers_vs_orders", + "title": "From Search to Sale: Active Customers vs. Orders Placed" }, { "content": { + "version": "2", + "visualizationUrl": "local:pyramid", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "44d578279cd5423bb2e660f2547dad01", + "title": "Gross profit", + "localIdentifier": "e7d52caea0e54f6db68aeccd8f1c9058", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, "filters": [] } - }, - "title": "# of Orders" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "609809cd850e429eb45a3d1b2993d77d", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } } } } - ], - "localIdentifier": "view" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "c1bcf6e4eb7b47abbf9b9e3e2adef53d", + "localIdentifier": "3e7c2309e28c4d4aba6ef58eff63b8b1", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "product_category" } } } } - ], - "localIdentifier": "segment" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "chartFill": { - "type": "solid" - }, "legend": { - "position": "bottom" + "position": "top" } } - }, - "visualizationUrl": "local:treemap", - "version": "2" + } }, - "description": "Visualizes the distribution of orders across product categories and brands, highlighting top performers and key contributors to overall sales.", - "id": "641cff4d-e46d-4fdb-8070-ffa5d6affa2f", - "title": "Orders by Product Category and Brand" + "description": "Displays the total gross profit contribution of each product category in descending order, helping identify which categories drive the most profitability.", + "id": "gross_profit_by_product_category", + "title": "Gross Profit by Product Category" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "5f460be07cfc47a5a4a369917469f333", + "title": "Gross profit", + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } - }, + } + ] + }, + { + "localIdentifier": "secondary_measures", + "items": [ { "measure": { - "localIdentifier": "3c910f1183e247beada046e18fd055a8", + "alias": "Previous period", + "title": "Gross profit - period ago", + "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb_previous_period", "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_returns", - "type": "metric" + "previousPeriodMeasure": { + "measureIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 } - }, - "filters": [] + ] } - }, - "title": "Total Returns" + } + } + } + ] + } + ], + "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" } }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } + } + ], + "properties": { + "controls": { + "comparison": { + "enabled": true, + "isArrowEnabled": true, + "labelConfig": { + "isConditional": true + } + } + } + } + }, + "description": "Displays the total gross profit for the current period and compares it to the previous period to highlight changes in profitability over time.", + "id": "gross_profit_headline", + "title": "Gross Profit" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:line", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ { "measure": { - "localIdentifier": "e5480401e2ca457589a8448589fa136c", + "title": "Gross profit", + "localIdentifier": "157e5232d0014c65ad3be170c2fea0e6", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_discounts", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, "filters": [] } - }, - "title": "Total Discounts" + } } } - ], - "localIdentifier": "measures" + ] + }, + { + "localIdentifier": "trend", + "items": [ + { + "attribute": { + "alias": "Date", + "localIdentifier": "e5d6cafa6615451e87a42133eef8050f", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.week" + } + } + } + } + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "dataLabels": { - "visible": false + "forecast": { + "enabled": true, + "period": 5 } } - }, - "visualizationUrl": "local:donut", - "version": "2" + } }, - "description": "Visualizes the share of net sales, returns, and discounts in total sales.", - "id": "643699f3-f980-44f6-b618-4b3d3f3f560e", - "title": "Total Sales Breakdown" + "description": "Displays the daily gross profit values over the past month.", + "id": "gross_profit_trend", + "title": "Gross Profit Trend" }, { "content": { + "version": "2", + "visualizationUrl": "local:waterfall", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", + "title": "Total sales", + "localIdentifier": "2a97814eeab147098977d7897b0c9a17", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "total_sales" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } }, { "measure": { - "localIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", + "alias": "Total Discounts", + "title": "Total discounts n", + "localIdentifier": "65e5344addea4da7963af25a96ead8b1", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_returns", - "type": "metric" + "type": "metric", + "id": "total_discounts_n" } }, "filters": [] } - }, - "title": "Total Returns", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + } } }, { "measure": { - "localIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", + "alias": "Total Returns", + "title": "Total returns n", + "localIdentifier": "4651549e7602441f90085a108f464f26", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_discounts", - "type": "metric" + "type": "metric", + "id": "total_returns_n" } }, "filters": [] } - }, - "title": "Total Discounts", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + } } } - ], - "localIdentifier": "measures" - }, + ] + } + ], + "sorts": [], + "filters": [], + "properties": { + "controls": { + "total": { + "name": "Total" + }, + "xaxis": { + "rotation": "0" + } + } + } + }, + "description": "Shows the impact of discounts and returns on total revenue, helping assess true sales performance after adjustments.", + "id": "net_sales_breakdown", + "title": "Net Sales Breakdown" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:pie", + "buckets": [ { + "localIdentifier": "measures", "items": [ { - "attribute": { - "localIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } - }, - "alias": "Product Category" - } - }, - { - "attribute": { - "localIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a", - "displayForm": { - "identifier": { - "id": "product_brand", - "type": "label" + "measure": { + "title": "Net sales", + "localIdentifier": "100691d163aa4d53be0fc7e1a048190b", + "format": "#,##0.00%", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "net_sales" + } + }, + "filters": [], + "computeRatio": true } - }, - "alias": "Product Brand" + } } - }, + } + ] + }, + { + "localIdentifier": "view", + "items": [ { "attribute": { - "localIdentifier": "73d5f54c4e3844adb8b6109118c30dca", + "localIdentifier": "e9a530f404de422a960d646baa0a5a7f", "displayForm": { "identifier": { - "id": "product_name", - "type": "label" + "type": "label", + "id": "product_category" } - }, - "alias": "Product Name" + } } } - ], - "localIdentifier": "attribute", - "totals": [ - { - "type": "sum", - "measureIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", - "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" - }, - { - "type": "sum", - "measureIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", - "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" - }, - { - "type": "sum", - "measureIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", - "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" - }, - { - "type": "sum", - "measureIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", - "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" - }, - { - "type": "sum", - "measureIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", - "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" - }, - { - "type": "sum", - "measureIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", - "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" - } ] } ], + "sorts": [], "filters": [], - "sorts": [ - { - "attributeSortItem": { - "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5", - "direction": "asc" - } - } - ], "properties": { "controls": { - "columnWidths": [ - { - "attributeColumnWidthItem": { - "attributeIdentifier": "73d5f54c4e3844adb8b6109118c30dca", - "width": { - "value": 316 - } - } - } - ] + "dataLabels": { + "visible": true + }, + "legend": { + "position": "top" + } } - }, - "visualizationUrl": "local:table", - "version": "2" + } }, - "description": "Displays detailed metrics for individual products, including product ID, name, rating, total net sales, returns, and discounts, enabling analysis of sales effectiveness and customer satisfaction at the SKU level.", - "id": "65120fa4-2805-4f70-b576-01d138117cf4", - "title": "Product Details by Product Categories & Brands" + "description": "Breaks down net sales by category as a percentage of total sales.", + "id": "net_sales_by_product_category", + "title": "Net Sales by Product Category" }, { "content": { + "version": "2", + "visualizationUrl": "local:bullet", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { + "title": "Net sales", "localIdentifier": "7d80d30b6bd64fd69d975ad8e234f6d0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { + "title": "Net sales goal", "localIdentifier": "3b80e29c47d04facae0f9cf2584559bb", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales_goal", - "type": "metric" + "type": "metric", + "id": "net_sales_goal" } }, "filters": [] } - }, - "title": "Net Sales Goal" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { "colorMapping": [ { + "id": "7d80d30b6bd64fd69d975ad8e234f6d0", "color": { "type": "guid", "value": "02" - }, - "id": "7d80d30b6bd64fd69d975ad8e234f6d0" + } }, { + "id": "3b80e29c47d04facae0f9cf2584559bb", "color": { "type": "guid", "value": "03" - }, - "id": "3b80e29c47d04facae0f9cf2584559bb" + } } ], "legend": { @@ -9011,1440 +11372,1586 @@ "visible": true } } - }, - "visualizationUrl": "local:bullet", - "version": "2" + } }, "description": "Monitors real-time achievement of net sales goals to support revenue planning and accountability.", - "id": "68ddf963-edce-4f88-a8d5-09bf3825b124", + "id": "net_sales_goal", "title": "Net Sales Goal" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { - "attribute": { - "localIdentifier": "c6c6b3011854486fb06429f3594d9321", - "displayForm": { - "identifier": { - "id": "product_id_image_web", - "type": "label" + "measure": { + "title": "Net sales", + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "net_sales" + } + }, + "filters": [] } - }, - "alias": "Product" + } } } - ], - "localIdentifier": "attribute" + ] }, { + "localIdentifier": "secondary_measures", "items": [ - { - "attribute": { - "localIdentifier": "c6c6b3011854486fb06429f3594d9321_cloned", - "displayForm": { - "identifier": { - "id": "product_id_image_web", - "type": "label" - } - }, - "alias": "Product" - } - }, { "measure": { - "localIdentifier": "0f108ae173d34845815110fd35746ff9", + "alias": "Previous period", + "title": "Net sales - period ago", + "localIdentifier": "759c22e84d114c55aa40707b16d79d1d_previous_period", "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "order_unit_price", - "type": "fact" + "previousPeriodMeasure": { + "measureIdentifier": "759c22e84d114c55aa40707b16d79d1d", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 } - }, - "aggregation": "avg", - "computeRatio": false, - "filters": [] + ] } - }, - "title": "Avg Order unit price", - "alias": "Order Unit Price", - "format": "$#,##0.00" + } + } + } + ] + } + ], + "sorts": [], + "filters": [ + { + "relativeDateFilter": { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" } }, + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 + } + } + ], + "properties": { + "controls": { + "comparison": { + "calculationType": "change", + "enabled": true, + "isArrowEnabled": true, + "labelConfig": { + "isConditional": true, + "unconditionalValue": "Change" + } + } + } + } + }, + "description": "Provides a quick snapshot of net sales performance for the current period compared to the previous one", + "id": "net_sales_headline", + "title": "Net Sales" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:column", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ { "measure": { - "localIdentifier": "852579952ba949678674dc117e15c40b", + "title": "Net sales", + "localIdentifier": "06bf7f5066ce4fdf9bbc1b4bd3fe0b10", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_unit_cost", - "type": "fact" + "type": "metric", + "id": "net_sales" } }, - "aggregation": "avg", - "computeRatio": false, "filters": [] } - }, - "title": "Avg Order unit cost", - "alias": "Order Unit Cost", - "format": "$#,##0.00" + } + } + } + ] + }, + { + "localIdentifier": "stack", + "items": [ + { + "attribute": { + "localIdentifier": "d9b3216e82ec48dd9181437ffe90c0ae", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_city" + } + } + } + } + ] + } + ], + "sorts": [], + "filters": [ + { + "negativeAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_city" } }, + "notIn": { + "values": [] + } + } + }, + { + "rankingFilter": { + "measure": { + "localIdentifier": "06bf7f5066ce4fdf9bbc1b4bd3fe0b10" + }, + "operator": "TOP", + "value": 5 + } + } + ], + "properties": { + "controls": { + "dataLabels": { + "totalsVisible": false, + "visible": true + }, + "legend": { + "position": "top" + }, + "stackMeasuresToPercent": true, + "yaxis": { + "name": { + "visible": false + }, + "labelsEnabled": false + }, + "grid": { + "enabled": false + }, + "disableDrillDown": true + } + } + }, + "description": "Breakdown of total net sales by customer location (top five cities).", + "id": "net_sales_share_by_top_5_city", + "title": "Net Sales Share by Top 5 City" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:table", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ { "measure": { - "localIdentifier": "0850722fad1949dda1a0b10da6c4906d", + "alias": "# of Units", + "title": "Sum of Order unit quantity", + "localIdentifier": "467a516bc9b14c0598a77281b7576809", + "format": "#,##0.00", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "fact", + "id": "order_unit_quantity" } }, - "computeRatio": false, + "aggregation": "sum", "filters": [] } - }, - "title": "Total Net Sales", - "alias": "Total Net Sales Over Time" + } } }, { "measure": { - "localIdentifier": "67ef39115aae473988c22155e49cb893", + "alias": "Per unit price", + "title": "Sum of Unit price", + "localIdentifier": "73d90f0963f947b5b625bce12838092e", + "format": "#,##0.00", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "product_rating", - "type": "metric" + "type": "fact", + "id": "order_unit_price" } }, - "computeRatio": false, + "aggregation": "sum", "filters": [] } - }, - "title": "Product Rating" + } } } - ], - "localIdentifier": "columns" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "48a592bf411440459ef1256c2930b6ac", + "localIdentifier": "c2cec2a421094d98aacdd2dcdd249b79", "displayForm": { "identifier": { - "id": "date.week", - "type": "label" - } - } - } - } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "cellImageSizing": "fit", - "cellTextWrapping": "clip", - "cellVerticalAlign": "middle", - "columnWidths": [ - { - "attributeColumnWidthItem": { - "attributeIdentifier": "c6c6b3011854486fb06429f3594d9321_cloned", - "width": { - "allowGrowToFit": false, - "value": 130 - } - } - }, - { - "measureColumnWidthItem": { - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "0850722fad1949dda1a0b10da6c4906d" - } + "type": "label", + "id": "order_id" } - ], - "width": { - "allowGrowToFit": false, - "value": 513 } } }, { - "measureColumnWidthItem": { - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "0f108ae173d34845815110fd35746ff9" - } + "attribute": { + "localIdentifier": "2b0cc07c4b48482189b8f0af4693714a", + "displayForm": { + "identifier": { + "type": "label", + "id": "order_line_id" } - ], - "width": { - "allowGrowToFit": false, - "value": 123 } } }, { - "measureColumnWidthItem": { - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "852579952ba949678674dc117e15c40b" - } + "attribute": { + "localIdentifier": "094b21053a194b8f92e0be5ee9b6d43e", + "displayForm": { + "identifier": { + "type": "label", + "id": "order_status" } - ], - "width": { - "allowGrowToFit": false, - "value": 124 } } }, { - "measureColumnWidthItem": { - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "67ef39115aae473988c22155e49cb893" - } + "attribute": { + "localIdentifier": "37d54a9da27d4038a1a7178820ce1a69", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_name" } - ], - "width": { - "allowGrowToFit": false, - "value": 104 } } } - ], - "rowHeight": "large" - }, - "inlineVisualizations": { - "0850722fad1949dda1a0b10da6c4906d": { - "type": "line" - }, - "d9820d279d5b440e8419c070a70b3ddc": { - "type": "column" + ] + } + ], + "sorts": [ + { + "attributeSortItem": { + "attributeIdentifier": "c2cec2a421094d98aacdd2dcdd249b79", + "direction": "asc" } } - }, - "visualizationUrl": "local:repeater", - "version": "2" + ], + "filters": [], + "properties": {} }, - "description": "", - "id": "6a23110a-8d0d-4385-99aa-9b829f735314", - "title": "Product Performance Trends" + "description": "Displays order line data including quantities, prices, status, and product info.", + "id": "order_details", + "title": "Order Details" }, { "content": { + "version": "2", + "visualizationUrl": "local:funnel", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "0b7702b91bb74888ae7ca03a99077386", + "alias": "Created", + "title": "Number of orders", + "localIdentifier": "e3399e9f4c3441b584769ad01d16f0f2", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "customer_lifetime_value_clv", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Customer Lifetime Value (CLV)" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "0f215a98445f4adea20e7c4f7c91dfd2", + "alias": "Processed", + "title": "Number of orders", + "localIdentifier": "201cdb641db04ec6a9c41f0489b518ac", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "purchase_frequency_per_customer", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, - "filters": [] + "filters": [ + { + "positiveAttributeFilter": { + "displayForm": { + "identifier": { + "type": "label", + "id": "order_status" + } + }, + "in": { + "values": [ + "Processed" + ] + } + } + } + ] } - }, - "title": "Purchase Frequency per Customer" + } } - } - ], - "localIdentifier": "secondary_measures" - }, - { - "items": [ + }, { - "attribute": { - "localIdentifier": "c302d0db67ef43a8900b8f8044d18079", - "displayForm": { - "identifier": { - "id": "customer_created_date.day", - "type": "label" + "measure": { + "alias": "Delivered", + "title": "Net delivered orders", + "localIdentifier": "bbe01906e5094e319fec9a93a8eb1064", + "format": "#,##0", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "net_delivered_orders" + } + }, + "filters": [] } } } } - ], - "localIdentifier": "attribute" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "clustering": { - "enabled": false, - "numberOfClusters": "4", - "threshold": "0.02" - }, - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "02" - }, - "id": "0b7702b91bb74888ae7ca03a99077386" - } - ], "legend": { - "enabled": false, - "position": "bottom" - }, - "xaxis": { - "min": "0" + "position": "top" } } - }, - "visualizationUrl": "local:scatter", - "version": "2" + } }, - - "description": "Compares Customer Lifetime Value (CLV) with Purchase Frequency. Each dot represents a customer group, helping identify loyal high-value customers and spot behavioral trends.", - "id": "6c1de2b0-0165-4b3f-8b2b-9122f8f24393", - "title": "Customer Lifetime Value (CLV) vs. Purchase Frequency" + "description": "Tracks how orders move from creation to final delivery.", + "id": "order_fulfillment_funnel", + "title": "Order Fulfillment Funnel" }, { "content": { + "version": "2", + "visualizationUrl": "local:donut", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "100691d163aa4d53be0fc7e1a048190b", + "title": "Number of orders", + "localIdentifier": "8c7d1a1164ab4bdb870e49e26bbfd72d", + "format": "#,##0.00%", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, - "computeRatio": true, - "filters": [] + "filters": [], + "computeRatio": true } - }, - "title": "% Total Net Sales", - "alias": "Net Sales in %", - "format": "#,##0.00%" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "e9a530f404de422a960d646baa0a5a7f", + "localIdentifier": "8a4e80f8663d44d7b09e6b5dfb60c86f", "displayForm": { "identifier": { - "id": "product_category", - "type": "label" + "type": "label", + "id": "order_status" } } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { + "colorMapping": [ + { + "id": "Processed", + "color": { + "type": "guid", + "value": "02" + } + }, + { + "id": "Canceled", + "color": { + "type": "guid", + "value": "03" + } + }, + { + "id": "In Cart", + "color": { + "type": "guid", + "value": "06" + } + } + ], "dataLabels": { "visible": "auto" }, "legend": { - "position": "right" + "position": "top" } } - }, - "visualizationUrl": "local:donut", - "version": "2" + } }, - "description": "Shows how net sales are divided across product categories as a percentage of total sales.", - "id": "6e336114-d0b6-4287-acc4-be6e39e13e30", - "title": "Net Sales by Product Category" + "description": "Shows how orders are distributed across different statuses.", + "id": "order_status_breakdown", + "title": "Order Status Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:dependencywheel", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "759c22e84d114c55aa40707b16d79d1d", + "title": "Order amount", + "localIdentifier": "77f3cf0ebdd149978563dedb7aaa9b59", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "order_amount" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute_from", "items": [ { - "measure": { - "localIdentifier": "759c22e84d114c55aa40707b16d79d1d_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "759c22e84d114c55aa40707b16d79d1d", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] + "attribute": { + "localIdentifier": "bdfd0781ec444582a8fe10ce3414b097", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_category" } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" - } - ], - "filters": [ + ] + }, { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" + "localIdentifier": "attribute_to", + "items": [ + { + "attribute": { + "localIdentifier": "8c6b7d7db00b44ea92e7b1e86c3d665e", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_rating" + } + } } - }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 - } + } + ] } ], "sorts": [], - "properties": { - "controls": { - "comparison": { - "calculationType": "change", - "enabled": true, - "isArrowEnabled": true, - "labelConfig": { - "isConditional": true, - "unconditionalValue": "Change" - } - } - } - }, - "visualizationUrl": "local:headline", - "version": "2" + "filters": [], + "properties": {} }, - "description": "Provides a quick snapshot of net sales performance for the current period compared to the previous one", - "id": "700d732d-67e1-4658-a6e0-c6b8edbb6d49", - "title": "Net Sales" + "description": "Shows how sales are distributed between categories and product ratings.", + "id": "order_value_by_category_and_customer_rating", + "title": "Order Value by Category and Customer Rating" }, { "content": { + "version": "2", + "visualizationUrl": "local:line", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { + "title": "Average order volume", "localIdentifier": "e61e012299884d7895ce4eb7b7534b2a", + "format": "#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "average_order_volume", - "type": "metric" + "type": "metric", + "id": "average_order_volume" } }, "filters": [] } - }, - "title": "Average Order Volume", - "format": "#,##0" + } } }, { "measure": { + "title": "All time average order volume", "localIdentifier": "49aa540cfc6e41e28e144b2f93f95599", + "format": "#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "all_time_average_order_volume", - "type": "metric" + "type": "metric", + "id": "all_time_average_order_volume" } }, "filters": [] } - }, - "title": "All Time Average Order Volume", - "format": "#,##0" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "trend", "items": [ { "attribute": { "localIdentifier": "ff83dc9b5919406796393eb75c4142ed", "displayForm": { "identifier": { - "id": "date.week", - "type": "label" + "type": "label", + "id": "date.week" } } } } - ], - "localIdentifier": "trend" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "continuousLine": { - "enabled": false - }, "dataLabels": { - "style": "auto", "visible": "auto" }, - "dataPoints": { - "visible": false - }, - "distinctPointShapes": { - "enabled": false - }, - "grid": { - "enabled": true - }, "xaxis": { "rotation": "30" } } - }, - "visualizationUrl": "local:line", - "version": "2" + } }, "description": "Tracks weekly order volumes against the long-term average to highlight fluctuations, trends, and seasonality in customer demand.", - "id": "70d8d521-22ff-468f-924f-4a81a28227c1", + "id": "order_volume_over_time", "title": "Order Volume Over Time" }, { "content": { + "version": "2", + "visualizationUrl": "local:choropleth", "buckets": [ { + "localIdentifier": "area", + "items": [ + { + "attribute": { + "localIdentifier": "76484c0466bd4f60926e6914afedce66", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_state.customer_region_code" + } + } + } + } + ] + }, + { + "localIdentifier": "color", "items": [ { "measure": { - "localIdentifier": "c877604979b64cd09c3840b36469e227", + "title": "Number of orders", + "localIdentifier": "3d93d0bc5e8045a69702a0518342d268", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Gross Profit" + } } } - ], - "localIdentifier": "measures" + ] + } + ], + "sorts": [], + "filters": [], + "properties": { + "controls": { + "viewport": { + "area": "continent_na" + } + } + } + }, + "description": "Displays the distribution of active customers by country and state, allowing quick identification of key markets and regions with the highest customer concentration", + "id": "orders_by_location_area_map", + "title": "Orders by Location (Area map)" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:treemap", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ + { + "measure": { + "title": "Number of orders", + "localIdentifier": "465daea3cdf1469998dfa09abc12353a", + "format": "#,##0.00%", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "number_of_orders" + } + }, + "filters": [], + "computeRatio": true + } + } + } + } + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "8ed871e5a6f1464c82e21213aa900afe", + "localIdentifier": "6f33093f7f6646de99a5f8942d533d83", "displayForm": { "identifier": { - "id": "product_name", - "type": "label" + "type": "label", + "id": "product_category" } - }, - "alias": "Product Name" + } } } - ], - "localIdentifier": "view" - } - ], - "filters": [ - { - "rankingFilter": { - "measure": { - "localIdentifier": "c877604979b64cd09c3840b36469e227" - }, - "operator": "TOP", - "value": 10 - } + ] } ], "sorts": [], + "filters": [], "properties": { "controls": { - "xaxis": { - "name": { - "visible": false - } + "dataLabels": { + "visible": true }, - "yaxis": { - "labelsEnabled": true, - "name": { - "visible": false - } + "legend": { + "position": "top" } } - }, - "visualizationUrl": "local:bar", - "version": "2" + } }, - "description": "Displays the top 10 products ranked by gross profit to highlight the most financially impactful items in the catalog.", - "id": "7b49dbdb-f9ab-41dd-9cb4-cd13627d67c3", - "title": "Top Products by Gross Profit" + "description": "Treemap showing the share of total order count per product category as a percentage. Supports analysis of orders by category, order mix by category, and identification of which categories have the most orders.", + "id": "orders_by_product_category", + "title": "Orders by Product Category" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "a7600faa872a4558ab5645951cad7ac4", + "title": "Number of orders", + "localIdentifier": "cc731e2181204c87ae860300815b0987", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "return_customers", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Returning Customers" + } } - }, + } + ] + }, + { + "localIdentifier": "view", + "items": [ { - "measure": { - "localIdentifier": "87a21aa137a14a44bf8f3e5352fc44f4", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "new_customers", - "type": "metric" - } - }, - "filters": [] + "attribute": { + "localIdentifier": "e46953f3401f4b1089134600c3346275", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.week" } - }, - "title": "New Customers" + } } } - ], - "localIdentifier": "measures" - } - ], - "filters": [ + ] + }, { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" + "localIdentifier": "stack", + "items": [ + { + "attribute": { + "localIdentifier": "c199d26e0fbd4049b3d332d1dc46386e", + "displayForm": { + "identifier": { + "type": "label", + "id": "order_status" + } + } } - }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 - } + } + ] } ], "sorts": [], + "filters": [], "properties": { "controls": { "colorMapping": [ { + "id": "Processed", "color": { "type": "guid", "value": "02" - }, - "id": "87a21aa137a14a44bf8f3e5352fc44f4" + } }, { + "id": "In Cart", "color": { "type": "guid", "value": "06" - }, - "id": "a7600faa872a4558ab5645951cad7ac4" + } + }, + { + "id": "Canceled", + "color": { + "type": "guid", + "value": "03" + } } ], - "dataLabels": { - "visible": "auto" - }, "legend": { "position": "top" } } - }, - "visualizationUrl": "local:donut", - "version": "2" + } }, - "description": "Shows counts of new vs. returning customers by picked period.", - "id": "7de6202d-2e52-4bed-9e80-6c3ce8cedaaa", - "title": "Customers Breakdown" + "description": "Displays the weekly volume of orders by status—Processed, In Cart, and Canceled—over time. It helps monitor order trends and assess how customer behavior shifts across different stages of the purchase process.", + "id": "orders_by_status_over_time", + "title": "Orders by Status Over Time" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "0b28ab87a0b947ba840501b2874dbde4", + "title": "Net orders", + "localIdentifier": "eb334cab51954b9f83184eead11308bc", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "customer_retention_rate", - "type": "metric" + "type": "metric", + "id": "net_orders" } }, "filters": [] } - }, - "title": "Customer Retention Rate" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { - "localIdentifier": "0b28ab87a0b947ba840501b2874dbde4_previous_period", + "alias": "Previous period", + "title": "Net orders - period ago", + "localIdentifier": "eb334cab51954b9f83184eead11308bc_previous_period", "definition": { "previousPeriodMeasure": { - "measureIdentifier": "0b28ab87a0b947ba840501b2874dbde4", + "measureIdentifier": "eb334cab51954b9f83184eead11308bc", "dateDataSets": [ { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "periodsAgo": 1 } ] } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.month", - "from": 0, - "to": 0 + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 } } ], - "sorts": [], "properties": { "controls": { "comparison": { + "calculationType": "change", "enabled": true, + "isArrowEnabled": true, "labelConfig": { - "isConditional": false + "isConditional": true, + "unconditionalValue": "Change" } } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Shows the monthly customer retention rate compared to the previous period, highlighting performance changes over time", - "id": "8a4f1df3-ca83-4e40-aad3-63b72bbfaa77", - "title": "Customer Retention Rate" + "description": "Shows the total number of processed orders for the current period, compared against the previous one. It helps track operational throughput and spot short-term changes in order volume.", + "id": "orders_processed_headline", + "title": "Orders Processed" }, { "content": { + "version": "2", + "visualizationUrl": "local:line", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] - } - } - } - }, - { - "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", + "title": "Net sales", + "localIdentifier": "0282c89727d946a5894408ff0ec5d08a", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Total Sales" + } } - }, + } + ] + }, + { + "localIdentifier": "trend", + "items": [ { - "measure": { - "localIdentifier": "002b4e50878a444ea0fd40c8ef131426", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "50c4eb1f32f3435bba53634aa5203ad8", - "50c4eb1f32f3435bba53634aa5203ad8_previous_period" - ], - "operator": "change" + "attribute": { + "localIdentifier": "201cb9fad4504784abd75c9e60198a3f", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.day" } - }, - "alias": "Total Sales Δ%", - "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%" + } } - }, + } + ] + } + ], + "sorts": [], + "filters": [], + "properties": { + "controls": { + "forecast": { + "enabled": true, + "confidence": 0.7, + "period": 7 + } + } + } + }, + "description": "Line chart of daily net sales over time with a 7-day forecast extension. Shows historical net sales trend and projected values for the next week. Supports revenue forecasting, net sales trend and projection analysis, and short-term sales projection for planning.", + "id": "overall_revenue_forecast", + "title": "Overall Revenue Forecast" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:line", + "buckets": [ + { + "localIdentifier": "measures", + "items": [ { "measure": { - "localIdentifier": "26d6bd85379443619d6109592e42a575_previous_period", + "title": "Price elasticity of demand", + "localIdentifier": "10dab8bc72474a2880322b6fc9093a62", "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "price_elasticity_of_demand" } - ] + }, + "filters": [] } } } }, { "measure": { - "localIdentifier": "26d6bd85379443619d6109592e42a575", + "title": "Unit elastic", + "localIdentifier": "08f557ed1cf644409bd08a6a475e0e63", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "unit_elastic" } }, "filters": [] } - }, - "title": "# of Orders" - } - }, - { - "measure": { - "localIdentifier": "0144a27623e44d79acfba3facfc43274", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "26d6bd85379443619d6109592e42a575", - "26d6bd85379443619d6109592e42a575_previous_period" - ], - "operator": "change" - } - }, - "alias": "Orders Δ%", - "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "trend", "items": [ { "attribute": { - "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", + "localIdentifier": "77716b50fd2f4922a9cb0a53f2d30399", "displayForm": { "identifier": { - "id": "customer_name", - "type": "label" + "type": "label", + "id": "product_brand" } - }, - "alias": "Customer" + } } } - ], - "localIdentifier": "attribute" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "granularity": "GDC.time.quarter", "from": -1, "to": -1 } - }, - { - "rankingFilter": { - "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" - }, - "operator": "BOTTOM", - "value": 10 - } } ], - "sorts": [ - { - "attributeSortItem": { - "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb", - "direction": "asc" + "properties": { + "controls": { + "xaxis": { + "name": { + "visible": false + }, + "rotation": "30" + }, + "yaxis": { + "max": "0.25", + "min": "-0.5" } } - ], - "properties": {}, - "visualizationUrl": "local:table", - "version": "2" + } }, - "description": "Highlights the bottom 10 customers ranked by total net sales, offering a clear view into the least valuable buyers by revenue contribution.", - "id": "8db91a42-5cd3-4b95-a224-221ac17732d8", - "title": "Bottom 10 Customers by Revenue (Details)" + "description": "Price Elasticity of Demand (PED) measures how sensitive demand is to price changes.", + "id": "price_elasticity_by_product_brand", + "title": "Price Elasticity by Product Brand" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "74113481eb294ad5af3b9088e8917d9d", + "title": "Net sales", + "localIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "net_sales" } - }, - "filters": [] - } - }, - "title": "Net Orders" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", - "displayForm": { - "identifier": { - "id": "customer_name", - "type": "label" - } - }, - "alias": "Customer" - } - } - ], - "localIdentifier": "view" - } - ], - "filters": [ - { - "negativeAttributeFilter": { - "localIdentifier": "dadf1ab2f9a9482aa1aff65f62b8f55a", - "displayForm": { - "identifier": { - "id": "customer_id", - "type": "label" - } - }, - "notIn": { - "uris": [] - } - } - }, - { - "rankingFilter": { - "measure": { - "localIdentifier": "74113481eb294ad5af3b9088e8917d9d" - }, - "operator": "TOP", - "value": 10 - } - } - ], - "sorts": [], - "properties": {}, - "visualizationUrl": "local:bar", - "version": "2" - }, - "description": "Ranks the most active customers based on purchase volume, supporting targeted loyalty or retention strategies.", - "id": "8e8f236e-1bb2-48b3-828e-48706c684629", - "title": "Top 10 Purchasing Customers" - }, - { - "content": { - "buckets": [ - { - "items": [ + }, + "filters": [] + } + } + } + }, { - "attribute": { - "localIdentifier": "f182f1163c5a4440b7b28cfb57c64f82", - "displayForm": { - "identifier": { - "id": "geo__customer_city__city_pushpin_latitude", - "type": "label" + "measure": { + "title": "Number of orders", + "localIdentifier": "2e29fcf184504383bd33e34fa8d3072b", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "number_of_orders" + } + }, + "filters": [] } } } - } - ], - "localIdentifier": "location" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "86f4cd076b994f618f7cc7d64aacbd27", + "alias": "Unit Price", + "title": "Avg of Unit price", + "localIdentifier": "8114d0d6ce604c66ad2d52472855ffa7", + "format": "$#,##0.00", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "fact", + "id": "order_unit_price" } }, + "aggregation": "avg", "filters": [] } - }, - "title": "# of Orders" + } } - } - ], - "localIdentifier": "size" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "3c72e165bc334881add26827e2bb5661", + "alias": "Unit Cost", + "title": "Avg of Unit cost", + "localIdentifier": "f6a3b950b16f45c7a101e2c3afe306b1", + "format": "$#,##0.00", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "fact", + "id": "order_unit_cost" } }, + "aggregation": "avg", "filters": [] } - }, - "title": "Active Customers" + } + } + }, + { + "measure": { + "alias": "Profit per Unit", + "title": "Difference of Avg of Unit price and Avg of Unit cost", + "localIdentifier": "818aa146985b48ef8f52b324a8419fc4", + "format": "$#,###.##", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "8114d0d6ce604c66ad2d52472855ffa7", + "f6a3b950b16f45c7a101e2c3afe306b1" + ], + "operator": "difference" + } + } } } - ], - "localIdentifier": "color" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "e8301d83bae844fb97c405926c086628", + "alias": "Product ID", + "localIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned", "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "product_id" } } } } ], - "localIdentifier": "segment" + "totals": [ + { + "type": "sum", + "measureIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + }, + { + "type": "sum", + "measureIdentifier": "2e29fcf184504383bd33e34fa8d3072b", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + }, + { + "type": "sum", + "measureIdentifier": "818aa146985b48ef8f52b324a8419fc4", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + }, + { + "type": "avg", + "measureIdentifier": "8114d0d6ce604c66ad2d52472855ffa7", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + }, + { + "type": "avg", + "measureIdentifier": "f6a3b950b16f45c7a101e2c3afe306b1", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + }, + { + "type": "avg", + "measureIdentifier": "818aa146985b48ef8f52b324a8419fc4", + "attributeIdentifier": "1c90af2684b146afaa95cc9fd244a030_cloned" + } + ] + } + ], + "sorts": [ + { + "measureSortItem": { + "locators": [ + { + "measureLocatorItem": { + "measureIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d" + } + } + ], + "direction": "desc" + } } ], "filters": [], - "sorts": [], "properties": { "controls": { - "latitude": "geo__customer_city__city_pushpin_latitude", - "longitude": "geo__customer_city__city_pushpin_longitude", - "points": { - "groupNearbyPoints": false + "columnWidths": [ + { + "measureColumnWidthItem": { + "width": { + "value": 115 + }, + "locator": { + "measureLocatorItem": { + "measureIdentifier": "1c4d84d9ffbd4afba4100087c0832b3d" + } + } + } + } + ], + "pagination": { + "enabled": true }, - "tooltipText": "customer_city" + "pageSize": 20 } - }, - "visualizationUrl": "local:pushpin", - "version": "2" + } }, - "description": "Displays the number of orders by customer city using bubble size, with color indicating the number of active customers.", - "id": "8eec84f3-88f7-42d7-9472-da144be7f2c4", - "title": "Orders by Customer City" + "description": "Tabular view of products with columns for net sales, order count, average unit price, unit cost, and profit per unit. Sortable by net sales to rank products. Supports detailed product-level analysis, product list review with key sales and cost metrics, and product performance comparison in table format.", + "id": "product_details", + "title": "Product Details" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "157e5232d0014c65ad3be170c2fea0e6", + "title": "Net sales", + "localIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Gross Profit" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { - "attribute": { - "localIdentifier": "e5d6cafa6615451e87a42133eef8050f", - "displayForm": { - "identifier": { - "id": "date.week", - "type": "label" + "measure": { + "title": "Total returns", + "localIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "total_returns" + } + }, + "filters": [] } - }, - "alias": "Date" + } } - } - ], - "localIdentifier": "trend" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "forecast": { - "confidence": 0.95, - "enabled": true, - "period": "5" - } - } - }, - "visualizationUrl": "local:line", - "version": "2" - }, - "description": "Displays the daily gross profit values over the past month.", - "id": "9570eab0-b451-48be-9e24-3c106fe898a2", - "title": "Gross Profit Trend" - }, - { - "content": { - "buckets": [ - { - "items": [ + }, { "measure": { - "localIdentifier": "e7d52caea0e54f6db68aeccd8f1c9058", + "title": "Total discounts", + "localIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "total_discounts" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Gross Profit" + } } } - ], - "localIdentifier": "measures" + ] }, { - "items": [ + "localIdentifier": "attribute", + "items": [ + { + "attribute": { + "alias": "Product Category", + "localIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_category" + } + } + } + }, + { + "attribute": { + "alias": "Product Brand", + "localIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_brand" + } + } + } + }, + { + "attribute": { + "alias": "Product Name", + "localIdentifier": "73d5f54c4e3844adb8b6109118c30dca", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_name" + } + } + } + } + ], + "totals": [ + { + "type": "sum", + "measureIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", + "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" + }, + { + "type": "sum", + "measureIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", + "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" + }, + { + "type": "sum", + "measureIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", + "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5" + }, + { + "type": "sum", + "measureIdentifier": "f7c65b77a50a4f999aee269b8e6ee40d", + "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" + }, + { + "type": "sum", + "measureIdentifier": "9bbd3123e2a84bc094fc581ac91ec0a8", + "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" + }, + { + "type": "sum", + "measureIdentifier": "182783e3b51249d1b54c56cddf7e0a2f", + "attributeIdentifier": "b3f0eb5fd4c84faa8aa3fb0b9863281a" + } + ] + } + ], + "sorts": [ + { + "attributeSortItem": { + "attributeIdentifier": "8fa7e8326ba845e7a61e96581d5b6db5", + "direction": "asc" + } + } + ], + "filters": [], + "properties": { + "controls": { + "columnWidths": [ { - "attribute": { - "localIdentifier": "3e7c2309e28c4d4aba6ef58eff63b8b1", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } - } + "attributeColumnWidthItem": { + "width": { + "value": 316 + }, + "attributeIdentifier": "73d5f54c4e3844adb8b6109118c30dca" } } ], - "localIdentifier": "view" + "pagination": { + "enabled": true + }, + "pageSize": 20 } - ], - "filters": [], - "sorts": [], - "properties": {}, - "visualizationUrl": "local:pyramid", - "version": "2" + } }, - "description": "Displays the total gross profit contribution of each product category in descending order, helping identify which categories drive the most profitability.", - "id": "9a254b09-91f2-4d36-bc40-bd51d9006a06", - "title": "Gross Profit by Product Category" + "description": "Displays detailed metrics for individual products, including product ID, name, rating, total net sales, returns, and discounts, enabling analysis of sales effectiveness and customer satisfaction at the SKU level.", + "id": "product_details_by_categories_and_brands", + "title": "Product Details by Product Categories & Brands" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period", + "title": "Top products", + "localIdentifier": "e25b4512da744638b1e0b753f6b78cff", + "format": "#,##0", "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "top_products" } - ] + }, + "filters": [] } } } }, { "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", + "title": "Number of orders", + "localIdentifier": "d267653445254a8d889f328b0ec3e72c", + "format": "[>=150][backgroundcolor=C1E1C1]#,##0;\n[>=100][backgroundcolor=FFFAA0]#,##0;\n[>=50][backgroundcolor=FAC898]#,##0;\n[>0][backgroundcolor=FAA0A0]#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Total Sales" - } - }, - { - "measure": { - "localIdentifier": "002b4e50878a444ea0fd40c8ef131426", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "50c4eb1f32f3435bba53634aa5203ad8", - "50c4eb1f32f3435bba53634aa5203ad8_previous_period" - ], - "operator": "change" - } - }, - "alias": "Total Sales Δ%", - "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%" - } - }, - { - "measure": { - "localIdentifier": "26d6bd85379443619d6109592e42a575_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] - } } } }, { "measure": { - "localIdentifier": "26d6bd85379443619d6109592e42a575", + "title": "Total returns", + "localIdentifier": "95f6e72bfef9412ba2160160f9fd4d50", + "format": "[>=10000][backgroundcolor=FAA0A0]$#,##0.00;\n[>=7500][backgroundcolor=FAC898]$#,##0.00;\n[>=5000][backgroundcolor=FFFAA0]$#,##0.00;\n[>=0][backgroundcolor=C1E1C1]$#,##0.00", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "total_returns" } }, "filters": [] } - }, - "title": "# of Orders" - } - }, - { - "measure": { - "localIdentifier": "0144a27623e44d79acfba3facfc43274", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "26d6bd85379443619d6109592e42a575", - "26d6bd85379443619d6109592e42a575_previous_period" - ], - "operator": "change" - } - }, - "alias": "Orders Δ%", - "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", + "alias": "Product ID", + "localIdentifier": "178008a70fe54aa984c6f83d2baafd96", "displayForm": { "identifier": { - "id": "customer_name", - "type": "label" + "type": "label", + "id": "product_id" } - }, - "alias": "Customer" + } + } + }, + { + "attribute": { + "alias": "Product Name", + "localIdentifier": "79d724e2332948a0a24dd6c0521b13b6", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_name" + } + } + } + }, + { + "attribute": { + "localIdentifier": "6739e068c7034cc0b9777403b192c60e", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_rating" + } + } } } - ], - "localIdentifier": "attribute" + ] + } + ], + "sorts": [ + { + "measureSortItem": { + "locators": [ + { + "measureLocatorItem": { + "measureIdentifier": "e25b4512da744638b1e0b753f6b78cff" + } + } + ], + "direction": "asc" + } } ], "filters": [ @@ -10452,257 +12959,312 @@ "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "granularity": "GDC.time.quarter", "from": -1, "to": -1 } - }, - { - "rankingFilter": { - "measure": { - "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" - }, - "operator": "TOP", - "value": 10 - } - } - ], - "sorts": [ - { - "attributeSortItem": { - "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb", - "direction": "asc" - } } ], "properties": { "controls": { "columnWidths": [ { - "measureColumnWidthItem": { - "locators": [ - { - "measureLocatorItem": { - "measureIdentifier": "26d6bd85379443619d6109592e42a575_previous_period" - } - } - ], + "attributeColumnWidthItem": { "width": { - "value": 112 + "value": 107 + }, + "attributeIdentifier": "6739e068c7034cc0b9777403b192c60e" + } + }, + { + "attributeColumnWidthItem": { + "width": { + "value": 467 + }, + "attributeIdentifier": "79d724e2332948a0a24dd6c0521b13b6" + } + } + ] + } + } + }, + "description": "Ranks products by orders with ratings and return impact.", + "id": "product_performance_by_orders_and_returns", + "title": "Product Performance by Orders & Returns" + }, + { + "content": { + "version": "2", + "visualizationUrl": "local:repeater", + "buckets": [ + { + "localIdentifier": "attribute", + "items": [ + { + "attribute": { + "alias": "Product", + "localIdentifier": "c6c6b3011854486fb06429f3594d9321", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_id_image_web" + } + } + } + } + ] + }, + { + "localIdentifier": "columns", + "items": [ + { + "attribute": { + "alias": "Product", + "localIdentifier": "c6c6b3011854486fb06429f3594d9321_cloned", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_id_image_web" + } + } + } + }, + { + "measure": { + "alias": "Order Unit Price", + "title": "Avg of Unit price", + "localIdentifier": "0f108ae173d34845815110fd35746ff9", + "format": "$#,##0.00", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "fact", + "id": "order_unit_price" + } + }, + "aggregation": "avg", + "filters": [] + } + } + } + }, + { + "measure": { + "alias": "Order Unit Cost", + "title": "Avg of Unit cost", + "localIdentifier": "852579952ba949678674dc117e15c40b", + "format": "$#,##0.00", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "fact", + "id": "order_unit_cost" + } + }, + "aggregation": "avg", + "filters": [] + } } } - } - ] - } - }, - "visualizationUrl": "local:table", - "version": "2" - }, - "description": "Highlights the top 10 customers ranked by total net sales, offering a clear view into the most valuable buyers by revenue contribution.", - "id": "9bd57223-2ba5-404b-af62-d5b6a418629a", - "title": "Top 10 Customers by Revenue (Details)" - }, - { - "content": { - "buckets": [ - { - "items": [ + }, { "measure": { - "localIdentifier": "10dab8bc72474a2880322b6fc9093a62", + "alias": "Total Net Sales Over Time", + "title": "Net sales", + "localIdentifier": "0850722fad1949dda1a0b10da6c4906d", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "price_elasticity_of_demand", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Price Elasticity of Demand" + } } }, { "measure": { - "localIdentifier": "08f557ed1cf644409bd08a6a475e0e63", + "title": "Product rating", + "localIdentifier": "67ef39115aae473988c22155e49cb893", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "unit_elastic", - "type": "metric" + "type": "metric", + "id": "product_rating" } }, "filters": [] } - }, - "title": "Unit Elastic" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "77716b50fd2f4922a9cb0a53f2d30399", + "localIdentifier": "48a592bf411440459ef1256c2930b6ac", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "date.week" } } } } - ], - "localIdentifier": "trend" - } - ], - "filters": [ - { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 - } + ] } ], "sorts": [], + "filters": [], "properties": { "controls": { - "dataLabels": { - "style": "auto" - }, - "dataPoints": { - "visible": false - }, - "xaxis": { - "name": { - "visible": false + "columnWidths": [ + { + "attributeColumnWidthItem": { + "width": { + "value": 130, + "allowGrowToFit": false + }, + "attributeIdentifier": "c6c6b3011854486fb06429f3594d9321_cloned" + } }, - "rotation": "30" - }, - "yaxis": { - "max": "0.25", - "min": "-0.5" + { + "measureColumnWidthItem": { + "width": { + "value": 513, + "allowGrowToFit": false + }, + "locator": { + "measureLocatorItem": { + "measureIdentifier": "0850722fad1949dda1a0b10da6c4906d" + } + } + } + }, + { + "measureColumnWidthItem": { + "width": { + "value": 123, + "allowGrowToFit": false + } + } + }, + { + "measureColumnWidthItem": { + "width": { + "value": 124, + "allowGrowToFit": false + } + } + }, + { + "measureColumnWidthItem": { + "width": { + "value": 104, + "allowGrowToFit": false + }, + "locator": { + "measureLocatorItem": { + "measureIdentifier": "67ef39115aae473988c22155e49cb893" + } + } + } + } + ], + "rowHeight": "large", + "cellVerticalAlign": "middle" + }, + "inlineVisualizations": { + "0850722fad1949dda1a0b10da6c4906d": { + "type": "line" } } - }, - "visualizationUrl": "local:line", - "version": "2" + } }, - "description": "Price Elasticity of Demand (PED) measures how sensitive demand is to price changes.", - "id": "9cc379ca-2d55-4f82-aa5e-e256d7e3580d", - "title": "Price Elasticity by Product Brand" + "description": "Repeater chart presenting each product as a card with image, weekly net sales trend line, average unit price and cost, and product rating. Supports analysis of product performance over time, comparison of pricing and costs per product, and a compact product overview with key metrics in one view.", + "id": "product_performance_trends", + "title": "Product Performance Trends" }, { "content": { + "version": "2", + "visualizationUrl": "local:sankey", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "6d5038a81a1741d4be183f354e02a1b1", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Net Sales" - } - }, - { - "measure": { - "localIdentifier": "0889348d4f9d46cba15587119c91e00d", + "title": "Active customers", + "localIdentifier": "96cf2381dc54457fbb278acb94406c52", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_returns", - "type": "metric" + "type": "metric", + "id": "active_customers" } }, "filters": [] } - }, - "title": "Total Returns" + } } - }, + } + ] + }, + { + "localIdentifier": "attribute_from", + "items": [ { - "measure": { - "localIdentifier": "5f7d89b4aa2f4eb5ae5aeda29c8644d7", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "total_discounts", - "type": "metric" - } - }, - "filters": [] + "attribute": { + "localIdentifier": "85d4f56c08ea4781b1306373f0f9d5e3", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_country" } - }, - "title": "Total Discounts" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute_to", "items": [ { "attribute": { - "localIdentifier": "5cd3eba36f034ba3846383e53988641c", + "localIdentifier": "66056e683e634e92a3fb6110ec17a98c", "displayForm": { "identifier": { - "id": "date.day", - "type": "label" + "type": "label", + "id": "product_category" } - }, - "alias": "Date" + } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], - "properties": { - "controls": { - "legend": { - "position": "top" - }, - "yaxis": { - "format": "inherit" - } - } - }, - "visualizationUrl": "local:area", - "version": "2" + "filters": [], + "properties": {} }, - "description": "Visualizes daily total net sales along with returns and discounts, helping to identify revenue trends and assess operational impacts over time.", - "id": "a178265c-53ba-4c15-8c1f-d7e168506c92", - "title": "Sales, Returns & Discounts Over Time" + "description": "Sankey diagram that visualizes the flow from active customers by country to product category, showing how many customers in each country buy in each category. Supports analysis of product preferences by customer geography, customer-to-category flow, and which categories customers buy by region.", + "id": "product_preferences_by_customers", + "title": "Product Preferences by Customers" }, { "content": { @@ -10711,19 +13273,22 @@ "items": [ { "measure": { - "localIdentifier": "cc731e2181204c87ae860300815b0987", + "localIdentifier": "bb011d8f97f34ae189c5fa335cd3922b", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "id": "order_unit_cost", + "type": "fact" } }, + "aggregation": "avg", "filters": [] } }, - "title": "# of Orders" + "title": "Avg Unit cost", + "alias": "Average Unit Cost", + "format": "#,##0.00" } } ], @@ -10732,136 +13297,130 @@ { "items": [ { - "attribute": { - "localIdentifier": "e46953f3401f4b1089134600c3346275", - "displayForm": { - "identifier": { - "id": "date.week", - "type": "label" + "measure": { + "localIdentifier": "45a9eefd26614bf5a3a99c38f6425d5f", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "id": "order_unit_price", + "type": "fact" + } + }, + "aggregation": "avg", + "filters": [] } - } + }, + "title": "Avg Unit price", + "alias": "Average Unit Price", + "format": "#,##0.00" } } ], - "localIdentifier": "view" + "localIdentifier": "secondary_measures" }, { "items": [ { "attribute": { - "localIdentifier": "c199d26e0fbd4049b3d332d1dc46386e", + "localIdentifier": "29b4d4fd443547f1952b8ffea87a2118", "displayForm": { "identifier": { - "id": "order_status", + "id": "product_id", "type": "label" } } } } ], - "localIdentifier": "stack" + "localIdentifier": "attribute" } ], "filters": [], "sorts": [], "properties": { "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "02" - }, - "id": "Processed" - }, - { - "color": { - "type": "guid", - "value": "06" - }, - "id": "In Cart" - }, - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "Canceled" - } - ], + "clustering": { + "enabled": true, + "numberOfClusters": 4, + "threshold": 0.1 + }, "legend": { - "position": "top" + "enabled": false } } }, - "visualizationUrl": "local:column", + "visualizationUrl": "local:scatter", "version": "2" }, - "description": "Displays the weekly volume of orders by status—Processed, In Cart, and Canceled—over time. It helps monitor order trends and assess how customer behavior shifts across different stages of the purchase process.", - "id": "a2b50fff-c7eb-444c-95e6-67037d2544d6", - "title": "Orders by Status Over Time" + "description": "Compares average unit cost vs. average unit price across products, segmented by clusters to identify pricing patterns.", + "id": "product_pricing_breakdown", + "title": "Product Pricing Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf", + "title": "Return customers", + "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "metric", + "id": "return_customers" } }, "filters": [] } - }, - "title": "Active Customers", - "format": "[=null]0;\n[>=0]#,#0;\n[<0]-#,#0" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { - "localIdentifier": "13f2358c2d2040fe8849757b2a5ddddf_previous_period", + "alias": "Previous period", + "title": "Return customers - period ago", + "localIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3_previous_period", "definition": { "previousPeriodMeasure": { - "measureIdentifier": "13f2358c2d2040fe8849757b2a5ddddf", + "measureIdentifier": "1df9a9af3c734b5da9f719b62d1b06c3", "dateDataSets": [ { "dataSet": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "periodsAgo": 1 } ] } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "customer_created_date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "granularity": "GDC.time.month", @@ -10870,7 +13429,6 @@ } } ], - "sorts": [], "properties": { "controls": { "comparison": { @@ -10881,220 +13439,193 @@ } } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Shows the number of active customers during the current period and compares it to the previous period to highlight changes in overall customer engagement.", - "id": "a347814a-a893-4354-915d-29699b92a6d7", - "title": "Active Customers" + "description": "Headline that displays the count of customers who made at least one repeat purchase in the current period, alongside the same measure for the previous period. Enables comparison of repeat-buyer volume period over period and supports assessment of customer retention and loyalty trends.", + "id": "returning_customers", + "title": "Returning Customers" }, { "content": { + "version": "2", + "visualizationUrl": "local:combo2", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "465daea3cdf1469998dfa09abc12353a", + "alias": "Net Sales", + "title": "Net sales", + "localIdentifier": "8d5b4da63d5342bfb99062bcfd3d48cf", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "# of Orders" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "6f33093f7f6646de99a5f8942d533d83", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } } } } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "chartFill": { - "type": "solid" - }, - "legend": { - "position": "top" - } - } - }, - "visualizationUrl": "local:treemap", - "version": "2" - }, - "description": "", - "id": "a63c7679-e577-4e40-9b17-0628eb6ed7e1", - "title": "Orders by Product Category" - }, - { - "content": { - "buckets": [ + ] + }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { - "localIdentifier": "74113481eb294ad5af3b9088e8917d9d", + "title": "Net orders", + "localIdentifier": "455307b5590a49b28fafa89999446b15", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "net_orders" } }, "filters": [] } - }, - "title": "Net Orders" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "4279bb0e9c644e74a2d5f65ee34983e0", + "alias": "Date", + "localIdentifier": "f37382df24334dd5ae7756dbd9cc9137", "displayForm": { "identifier": { - "id": "customer_state", - "type": "label" + "type": "label", + "id": "date.day" } } } } - ], - "localIdentifier": "view" + ] } ], + "sorts": [], "filters": [ { "negativeAttributeFilter": { - "localIdentifier": "c421eea86c7243adbf2b13b10a03f204", "displayForm": { "identifier": { - "id": "customer_id", - "type": "label" + "type": "label", + "id": "customer_country" } }, "notIn": { - "uris": [] + "values": [] } } - }, - { - "rankingFilter": { - "measure": { - "localIdentifier": "74113481eb294ad5af3b9088e8917d9d" + } + ], + "properties": { + "controls": { + "legend": { + "position": "top" + }, + "xaxis": { + "name": { + "visible": false }, - "operator": "TOP", - "value": 10 + "rotation": "30" + }, + "secondary_yaxis": { + "measures": [ + "455307b5590a49b28fafa89999446b15" + ], + "format": "inherit", + "labelsEnabled": false } } - ], - "sorts": [], - "properties": {}, - "visualizationUrl": "local:bar", - "version": "2" + } }, - "description": "Displays the top 10 states ranked by the volume of net orders, highlighting regions with the highest customer demand. This chart helps identify geographic hotspots and optimize regional sales strategies.", - "id": "ac004949-ad4d-4678-b03a-2756e3d6a4e3", - "title": "Top 10 States" + "description": "Tracks the daily trend of total net sales (columns) alongside net orders (line) for the entire market, providing insights into revenue patterns and fluctuations in customer purchasing activity over time.", + "id": "revenue_trend_over_time", + "title": "Revenue Trend Over Time" }, { "content": { + "version": "2", + "visualizationUrl": "local:headline", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "0c6dbb7da7c84aabb1b2ae868ca93d08", + "title": "Sales conversion rate", + "localIdentifier": "af090190f4334a768fc217e9c17023fc", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "sales_conversion_rate" } }, "filters": [] } - }, - "title": "Total Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "secondary_measures", "items": [ { "measure": { - "localIdentifier": "0c6dbb7da7c84aabb1b2ae868ca93d08_previous_period", + "alias": "Previous period", + "title": "Sales conversion rate - period ago", + "localIdentifier": "af090190f4334a768fc217e9c17023fc_previous_period", "definition": { "previousPeriodMeasure": { - "measureIdentifier": "0c6dbb7da7c84aabb1b2ae868ca93d08", + "measureIdentifier": "af090190f4334a768fc217e9c17023fc", "dateDataSets": [ { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "periodsAgo": 1 } ] } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.month", - "from": 0, - "to": 0 + "granularity": "GDC.time.quarter", + "from": -1, + "to": -1 } } ], - "sorts": [], "properties": { "controls": { "comparison": { @@ -11105,807 +13636,562 @@ } } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Displays the total sales revenue for the current period alongside the previous period's value, highlighting percentage change to track short-term performance trends and revenue fluctuations", - "id": "adf2b786-32bd-4864-b251-7e2cfe9a006f", - "title": "Total Sales" + "description": "Headline that displays the ratio of orders to active customers for the current quarter and the previous quarter. Represents the share of active customers who placed at least one order. Supports analysis of sales conversion rate, conversion percentage, and orders per customer for period comparison.", + "id": "sales_conversion_rate", + "title": "Sales Conversion Rate (%)" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "19e547138f52447382f6b022cb3032ba", + "title": "Net sales", + "localIdentifier": "d612ec37e5a04727bb20def0935e4fab", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_amount", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Total Order Amount" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "bdfd0781ec444582a8fe10ce3414b097", - "displayForm": { - "identifier": { - "id": "product_category", - "type": "label" - } } } - } - ], - "localIdentifier": "attribute_from" - }, - { - "items": [ + }, { - "attribute": { - "localIdentifier": "8c6b7d7db00b44ea92e7b1e86c3d665e", - "displayForm": { - "identifier": { - "id": "product_rating", - "type": "label" + "measure": { + "title": "Gross profit", + "localIdentifier": "ff456d9200d34b0aa1e2bd5e8bff6b99", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "gross_profit" + } + }, + "filters": [] } } } - } - ], - "localIdentifier": "attribute_to" - } - ], - "filters": [], - "sorts": [], - "properties": {}, - "visualizationUrl": "local:dependencywheel", - "version": "2" - }, - "description": "Shows how sales are distributed between categories and product ratings.", - "id": "b0c48f40-b8e0-4434-9258-bbd261d6bd34", - "title": "Order Value by Category and Customer Rating" - }, - { - "content": { - "buckets": [ - { - "items": [ + }, { "measure": { - "localIdentifier": "8c7d1a1164ab4bdb870e49e26bbfd72d", + "title": "Gross profit margin", + "localIdentifier": "28cee096bf4141a29ffe0bc41806e4c3", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "gross_profit_margin" } }, - "computeRatio": true, "filters": [] } - }, - "title": "% # of Orders", - "format": "#,##0.00%" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { "attribute": { - "localIdentifier": "8a4e80f8663d44d7b09e6b5dfb60c86f", + "localIdentifier": "525c659241bb4d6fbe2ab74aa37150f1", "displayForm": { "identifier": { - "id": "order_status", - "type": "label" + "type": "label", + "id": "customer_country" + } + } + } + }, + { + "attribute": { + "localIdentifier": "a6b19dd405cb4c1da462426af2f298ba", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_category" } } } } ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "02" - }, - "id": "Processed" - }, + "totals": [ { - "color": { - "type": "guid", - "value": "03" - }, - "id": "Canceled" + "type": "sum", + "measureIdentifier": "d612ec37e5a04727bb20def0935e4fab", + "attributeIdentifier": "a6b19dd405cb4c1da462426af2f298ba" }, { - "color": { - "type": "guid", - "value": "06" - }, - "id": "In Cart" + "type": "sum", + "measureIdentifier": "ff456d9200d34b0aa1e2bd5e8bff6b99", + "attributeIdentifier": "a6b19dd405cb4c1da462426af2f298ba" } - ], - "dataLabels": { - "visible": "auto" - }, - "legend": { - "position": "top" + ] + } + ], + "sorts": [ + { + "attributeSortItem": { + "attributeIdentifier": "525c659241bb4d6fbe2ab74aa37150f1", + "direction": "asc" } } - }, - "visualizationUrl": "local:donut", - "version": "2" + ], + "filters": [], + "properties": {} }, - "description": "Shows how orders are distributed across different statuses.", - "id": "b4497110-8d8a-4ab3-9cd5-471b60d8e561", - "title": "Order Status Breakdown" + "description": "Breaks down sales and profit metrics by country and product category for comparative analysis.", + "id": "sales_details", + "title": "Sales Details" }, { "content": { + "version": "2", + "visualizationUrl": "local:area", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb", + "title": "Net sales", + "localIdentifier": "026ea78496f142d2b5037a6f066156e7", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "gross_profit", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Gross Profit" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { - "measure": { - "localIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "e406fb1d6f5c472687b65b28eac4a4cb", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] + "attribute": { + "alias": "Week/Year", + "localIdentifier": "32a5035c52194cf59413f3b18feef281", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.week" } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] + }, + { + "localIdentifier": "stack", + "items": [ + { + "attribute": { + "localIdentifier": "4aec3042fbc2497ca400a0b3ab1f8a0b", + "displayForm": { + "identifier": { + "type": "label", + "id": "product_category" + } + } + } + } + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 + "granularity": "GDC.time.year" } } ], - "sorts": [], "properties": { "controls": { - "comparison": { - "enabled": true, - "isArrowEnabled": true, - "labelConfig": { - "isConditional": true - } + "chartFill": { + "type": "outline" + }, + "legend": { + "position": "top" + }, + "xaxis": { + "rotation": "45" } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Displays the total gross profit for the current period and compares it to the previous period to highlight changes in profitability over time.", - "id": "b666412b-3c13-4e80-9b3f-7787558aa3ce", - "title": "Gross Profit" + "description": "Visualizes how net sales fluctuate across different product categories over time, helping uncover seasonal patterns, peak-selling periods, and category-specific trends.", + "id": "sales_performance_by_product_category_over_time", + "title": "Sales Performance by Product Category Over Time" }, { "content": { + "version": "2", + "visualizationUrl": "local:waterfall", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "e3399e9f4c3441b584769ad01d16f0f2", + "title": "Total sales", + "localIdentifier": "71c50d511eee498cbaed10aa030c17a2", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "total_sales" } }, "filters": [] } - }, - "title": "# of Orders", - "alias": "Created" + } } }, { "measure": { - "localIdentifier": "201cdb641db04ec6a9c41f0489b518ac", + "title": "Total product costs", + "localIdentifier": "4760531054d64a4987f787c638541958", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "total_product_costs" } }, - "filters": [ - { - "positiveAttributeFilter": { - "localIdentifier": "c88c90bff7584afab5b7034859aff684", - "displayForm": { - "identifier": { - "id": "order_status", - "type": "label" - } - }, - "in": { - "values": [ - "Processed" - ] - } - } - } - ] + "filters": [] } - }, - "title": "# of Orders (Order status: Processed)", - "alias": "Processed" + } } }, { "measure": { - "localIdentifier": "bbe01906e5094e319fec9a93a8eb1064", + "alias": "Total Discounts", + "title": "Total discounts n", + "localIdentifier": "970df249ea064ac2a8a3cd3fb85da491", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_delivered_orders", - "type": "metric" + "type": "metric", + "id": "total_discounts_n" } }, "filters": [] } - }, - "title": "Net Delivered Orders", - "alias": "Delivered", - "format": "#,##0" - } - } - ], - "localIdentifier": "measures" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "dataLabels": { - "percentsVisible": false - }, - "legend": { - "position": "top" - } - } - }, - "visualizationUrl": "local:funnel", - "version": "2" - }, - "description": "Tracks how orders move from creation to final delivery.", - "id": "b742a152-cf65-436b-bcdf-4e56ec594841", - "title": "Order Fulfillment Funnel" - }, - { - "content": { - "buckets": [ - { - "items": [ - { - "measure": { - "localIdentifier": "03f2ab0030e24e438cd6e0294fcb650c", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "number_of_orders", - "type": "metric" - } - }, - "filters": [ - { - "negativeAttributeFilter": { - "localIdentifier": "e6272c6a79ac45959142f57c5a592081", - "displayForm": { - "identifier": { - "id": "order_status", - "type": "label" - } - }, - "notIn": { - "values": [ - "In Cart", - "Canceled" - ] - } - } - } - ], - "computeRatio": false - } - }, - "title": "# of Orders (Order status: All except In Cart, Canceled)", - "alias": "# of Processed Orders" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "f917ac33c3f240498d42572f9b6926e8", + "alias": "Total Returns", + "title": "Total returns n", + "localIdentifier": "f20087ee71f5459b8b5d9a341731f1fc", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "total_returns_n" } }, - "filters": [ - { - "positiveAttributeFilter": { - "localIdentifier": "91bb4bdbebd743b9ad45c2fed88861ce", - "displayForm": { - "identifier": { - "id": "order_status", - "type": "label" - } - }, - "in": { - "values": [ - "Canceled" - ] - } - } - } - ], - "computeRatio": false - } - }, - "title": "# of Orders (Order status: Canceled)", - "alias": "# of Canceled Orders" - } - } - ], - "localIdentifier": "secondary_measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "487a6cb19b6940c6befa2961a557a246", - "displayForm": { - "identifier": { - "id": "date.week", - "type": "label" + "filters": [] } - }, - "alias": "Week/Year" + } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], - "attributeFilterConfigs": { - "e6272c6a79ac45959142f57c5a592081": { - "displayAsLabel": { - "identifier": { - "id": "order_status", - "type": "label" - } - } - }, - "91bb4bdbebd743b9ad45c2fed88861ce": { - "displayAsLabel": { - "identifier": { - "id": "order_status", - "type": "label" - } - } - } - }, "sorts": [], + "filters": [], "properties": { "controls": { - "chartFill": { - "type": "solid" - }, - "colorMapping": [ - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "f917ac33c3f240498d42572f9b6926e8" - }, - { - "color": { - "type": "guid", - "value": "01" - }, - "id": "03f2ab0030e24e438cd6e0294fcb650c" - } - ], - "dataLabels": { - "totalsVisible": true, - "visible": "auto" - }, - "dualAxis": true, - "legend": { - "position": "top" - }, - "primaryChartType": "column", - "secondaryChartType": "line", - "secondary_yaxis": { - "measures": [ - "f917ac33c3f240498d42572f9b6926e8" - ] - }, - "stackMeasuresToPercent": false, - "xaxis": { - "rotation": "30" + "total": { + "name": "Total" } } - }, - "visualizationUrl": "local:combo2", - "version": "2" + } }, - "description": "Tracks the monthly trend of completed (processed) vs. canceled orders. It helps identify fluctuations in order fulfillment and highlights periods of increased cancellations or consistent completions.", - "id": "bb5c2581-2da9-49b8-b430-b9c2371c79ff", - "title": "Completed vs. Canceled Orders Trend" + "description": "Illustrates how total sales are reduced by product costs, discounts, and returns to arrive at net revenue, highlighting key profit drivers and deductions.", + "id": "sales_to_net_revenue_breakdown", + "title": "Sales to Net Revenue Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:bar", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84", + "title": "Net sales", + "localIdentifier": "09d1a954b824448dabccc750d223c519", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Total Net Sales", - "alias": "Total Net Sales - current period" - } - }, - { - "measure": { - "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "df56dd6bf27543438288fd4bbee1bf84", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] - } - }, - "alias": "Total Net Sales - previous period" - } - }, - { - "measure": { - "localIdentifier": "188041b8ba9c4a21a36cd24ad656bfd5", - "definition": { - "arithmeticMeasure": { - "measureIdentifiers": [ - "df56dd6bf27543438288fd4bbee1bf84", - "df56dd6bf27543438288fd4bbee1bf84_previous_period" - ], - "operator": "difference" - } - }, - "alias": "Difference between periods", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "321468cc87124a9e810c18655595ff76", + "alias": "Customer", + "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "customer_name" } } } } - ], - "localIdentifier": "view" + ] } ], + "sorts": [], "filters": [ - { - "relativeDateFilter": { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 - } - }, { "negativeAttributeFilter": { - "localIdentifier": "04a5e58fc0f14f58aa510821914aaa50", "displayForm": { "identifier": { - "id": "product_brand", - "type": "label" + "type": "label", + "id": "customer_id" } }, "notIn": { - "uris": [] + "values": [] } } }, { "rankingFilter": { "measure": { - "localIdentifier": "df56dd6bf27543438288fd4bbee1bf84" + "localIdentifier": "09d1a954b824448dabccc750d223c519" }, "operator": "TOP", "value": 10 } } ], - "sorts": [], "properties": { "controls": { "colorMapping": [ { + "id": "09d1a954b824448dabccc750d223c519", "color": { "type": "guid", "value": "06" - }, - "id": "df56dd6bf27543438288fd4bbee1bf84" - }, - { - "color": { - "type": "guid", - "value": "03" - }, - "id": "188041b8ba9c4a21a36cd24ad656bfd5" + } } ], - "dataLabels": { - "visible": "auto" - }, "xaxis": { "name": { "visible": false - }, - "rotation": "30" + } + }, + "yaxis": { + "name": { + "visible": false + } } } - }, - "visualizationUrl": "local:column", - "version": "2" + } }, - "description": "", - "id": "c4acd66e-db92-4e9b-8146-be79fcd50869", - "title": "Best-selling Product Brands" + "description": "Highlights the top 10 customers ranked by total net sales, offering a clear view into the most valuable buyers by revenue contribution.", + "id": "top_10_customers_by_revenue", + "title": "Top 10 Customers by Revenue" }, { "content": { + "version": "2", + "visualizationUrl": "local:table", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "5e48381a1cfb4b79928cf63d31222b26", + "title": "Total sales - period ago", + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] + } + } + } + }, + { + "measure": { + "title": "Total sales", + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "active_customers", - "type": "metric" + "type": "metric", + "id": "total_sales" } }, - "computeRatio": false, "filters": [] } - }, - "title": "Active Customers" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { - "attribute": { - "localIdentifier": "a767288b1175410fb8eb791574ff2287", - "displayForm": { - "identifier": { - "id": "date.hourOfDay", - "type": "label" + "measure": { + "alias": "Total Sales Δ%", + "title": "Change of Total sales and Total sales - period ago", + "localIdentifier": "002b4e50878a444ea0fd40c8ef131426", + "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "50c4eb1f32f3435bba53634aa5203ad8", + "50c4eb1f32f3435bba53634aa5203ad8_previous_period" + ], + "operator": "change" } } } - } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": { - "controls": { - "colorMapping": [ + }, { - "color": { - "type": "guid", - "value": "06" - }, - "id": "5e48381a1cfb4b79928cf63d31222b26" - } - ], - "xaxis": { - "name": { - "visible": false - } - } - } - }, - "visualizationUrl": "local:column", - "version": "2" - }, - "description": "Displays how customer activity is distributed across different hours of the day, helping identify peak engagement times and optimize operations or marketing efforts.", - "id": "cc858402-0650-444e-947a-1e8dfc888435", - "title": "Customer Activity by Hour" - }, - { - "content": { - "buckets": [ - { - "items": [ + "measure": { + "title": "Number of orders - period ago", + "localIdentifier": "26d6bd85379443619d6109592e42a575_previous_period", + "definition": { + "previousPeriodMeasure": { + "measureIdentifier": "26d6bd85379443619d6109592e42a575", + "dateDataSets": [ + { + "dataSet": { + "identifier": { + "type": "dataset", + "id": "date" + } + }, + "periodsAgo": 1 + } + ] + } + } + } + }, { "measure": { - "localIdentifier": "e658c1e72f3f4ecdaff36b5f0db8790f", + "title": "Number of orders", + "localIdentifier": "26d6bd85379443619d6109592e42a575", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "average_order_volume", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Average Order Volume", - "format": "#,##0" + } + } + }, + { + "measure": { + "alias": "Orders Δ%", + "title": "Change of Number of orders and Number of orders - period ago", + "localIdentifier": "0144a27623e44d79acfba3facfc43274", + "format": "[<0][red]↓#,##0.00%;\n[>0][green]↑#,##0.00%", + "definition": { + "arithmeticMeasure": { + "measureIdentifiers": [ + "26d6bd85379443619d6109592e42a575", + "26d6bd85379443619d6109592e42a575_previous_period" + ], + "operator": "change" + } + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "attribute", "items": [ { - "measure": { - "localIdentifier": "e658c1e72f3f4ecdaff36b5f0db8790f_previous_period", - "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "e658c1e72f3f4ecdaff36b5f0db8790f", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] + "attribute": { + "alias": "Customer", + "localIdentifier": "0b6cc41384054a5496ab4d40962a62fb", + "displayForm": { + "identifier": { + "type": "label", + "id": "customer_name" } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] + } + ], + "sorts": [ + { + "attributeSortItem": { + "attributeIdentifier": "0b6cc41384054a5496ab4d40962a62fb", + "direction": "asc" + } } ], "filters": [ @@ -11913,629 +14199,670 @@ "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, "granularity": "GDC.time.quarter", "from": -1, "to": -1 } + }, + { + "rankingFilter": { + "measure": { + "localIdentifier": "50c4eb1f32f3435bba53634aa5203ad8" + }, + "operator": "TOP", + "value": 10 + } } ], - "sorts": [], "properties": { "controls": { - "comparison": { - "calculationType": "change", - "enabled": true, - "isArrowEnabled": true, - "labelConfig": { - "isConditional": true, - "unconditionalValue": "Versus" + "columnWidths": [ + { + "measureColumnWidthItem": { + "width": { + "value": 112 + } + } } - } + ] } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "Displays the number of active customers during the selected period and compares it to the previous period, helping track customer engagement trends over time.", - "id": "dc8575f5-27e5-44be-a2dc-23d54b7777e7", - "title": "Average Order Volume per Customer" + "description": "Highlights the top 10 customers ranked by total net sales, offering a clear view into the most valuable buyers by revenue contribution.", + "id": "top_10_customers_by_revenue_details", + "title": "Top 10 Customers by Revenue (Details)" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "e9e9de69c09e4905940392828545c8dd", - "definition": { - "measureDefinition": { - "item": { - "identifier": { - "id": "net_sales", - "type": "metric" - } - }, - "filters": [] - } - }, - "title": "Total Net Sales" - } - }, - { - "measure": { - "localIdentifier": "a9ad19d6e5e946bf81e75eaffcd92a36", + "title": "Number of orders", + "localIdentifier": "98a708e621154c42904f6ab93d2d0dc5", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_orders", - "type": "metric" + "type": "metric", + "id": "number_of_orders" } }, "filters": [] } - }, - "title": "Net Orders" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "acbc5974a2844148b6026b3db51e001e", - "displayForm": { - "identifier": { - "id": "date.day", - "type": "label" - } - } - } - }, - { - "attribute": { - "localIdentifier": "eb1469d315af48868f538f2c2005ee06", + "localIdentifier": "f039f95866b843c58eae59a486aee43a", "displayForm": { "identifier": { - "id": "customer_country", - "type": "label" + "type": "label", + "id": "customer_state" } } } - }, + } + ] + }, + { + "localIdentifier": "stack", + "items": [ { "attribute": { - "localIdentifier": "4199c955c96c407dae71e103bef4bbe9", + "localIdentifier": "e374a2ffae42463c9d971c666062c816", "displayForm": { "identifier": { - "id": "product_category", - "type": "label" + "type": "label", + "id": "customer_city" } } } } - ], - "localIdentifier": "attribute", - "totals": [ - { - "type": "sum", - "measureIdentifier": "e9e9de69c09e4905940392828545c8dd", - "attributeIdentifier": "4199c955c96c407dae71e103bef4bbe9" - }, - { - "type": "sum", - "measureIdentifier": "a9ad19d6e5e946bf81e75eaffcd92a36", - "attributeIdentifier": "4199c955c96c407dae71e103bef4bbe9" - } ] } ], - "filters": [], "sorts": [ { "attributeSortItem": { - "attributeIdentifier": "acbc5974a2844148b6026b3db51e001e", - "direction": "asc" + "attributeIdentifier": "f039f95866b843c58eae59a486aee43a", + "aggregation": "sum", + "direction": "desc" } } ], - "properties": {}, - "visualizationUrl": "local:table", - "version": "2" + "filters": [ + { + "rankingFilter": { + "measure": { + "localIdentifier": "98a708e621154c42904f6ab93d2d0dc5" + }, + "operator": "TOP", + "value": 5 + } + } + ], + "properties": { + "controls": { + "legend": { + "position": "top" + } + } + } }, - "description": "Tabular view of daily sales and order trends for granular performance analysis.", - "id": "ddc4be59-1ea8-4b9d-86a2-6f389ae217b9", - "title": "Revenue Trend Details" + "description": "Column chart of the top 5 states ranked by order count, with cities as segments within each state. Supports identification of top states by orders, which states have the most orders, and order volume comparison by state and city.", + "id": "top_5_states_by_number_of_orders", + "title": "Top 5 States by Number of Orders" }, { "content": { + "version": "2", + "visualizationUrl": "local:bar", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "100691d163aa4d53be0fc7e1a048190b", + "title": "Gross profit", + "localIdentifier": "c877604979b64cd09c3840b36469e227", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, - "computeRatio": true, "filters": [] } - }, - "title": "% Total Net Sales", - "format": "#,##0.00%" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "e9a530f404de422a960d646baa0a5a7f", + "alias": "Product Name", + "localIdentifier": "8ed871e5a6f1464c82e21213aa900afe", "displayForm": { "identifier": { - "id": "product_category", - "type": "label" + "type": "label", + "id": "product_name" } } } } - ], - "localIdentifier": "view" + ] } ], - "filters": [], "sorts": [], + "filters": [ + { + "rankingFilter": { + "measure": { + "localIdentifier": "c877604979b64cd09c3840b36469e227" + }, + "operator": "TOP", + "value": 10 + } + } + ], "properties": { "controls": { - "dataLabels": { - "visible": true + "xaxis": { + "name": { + "visible": false + } }, - "legend": { - "position": "top" + "yaxis": { + "name": { + "visible": false + } } } - }, - "visualizationUrl": "local:pie", - "version": "2" + } }, - "description": "Breaks down net sales by category as a percentage of total sales.", - "id": "e32644ad-1921-4b89-a7d2-79f31826e5cf", - "title": "Net Sales by Product Category" + "description": "Displays the top 10 products ranked by gross profit to highlight the most financially impactful items in the catalog.", + "id": "top_products_by_gross_profit", + "title": "Top Products by Gross Profit" }, { "content": { + "version": "2", + "visualizationUrl": "local:bar", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "06bf7f5066ce4fdf9bbc1b4bd3fe0b10", + "title": "Net orders", + "localIdentifier": "aff217f5be79438aa7053d7e15c7a3a7", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "net_sales", - "type": "metric" + "type": "metric", + "id": "net_orders" } }, "filters": [] } - }, - "title": "Total Net Sales" + } } } - ], - "localIdentifier": "measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "d9b3216e82ec48dd9181437ffe90c0ae", + "alias": "Product name", + "localIdentifier": "f8b013634b8d4d56b68031bcd8ce7b63", "displayForm": { "identifier": { - "id": "customer_city", - "type": "label" + "type": "label", + "id": "product_name" } } } } - ], - "localIdentifier": "stack" + ] } ], + "sorts": [], "filters": [ - { - "negativeAttributeFilter": { - "localIdentifier": "26b84a493e7d4c5c8f52e6d8c75949d1", - "displayForm": { - "identifier": { - "id": "customer_city", - "type": "label" - } - }, - "notIn": { - "uris": [] - } - } - }, { "rankingFilter": { "measure": { - "localIdentifier": "06bf7f5066ce4fdf9bbc1b4bd3fe0b10" + "localIdentifier": "aff217f5be79438aa7053d7e15c7a3a7" }, "operator": "TOP", - "value": 5 + "value": 10 } } ], - "sorts": [], "properties": { "controls": { - "dataLabels": { - "totalsVisible": false, - "visible": true - }, - "disableDrillDown": true, - "grid": { - "enabled": false - }, - "legend": { - "position": "top" - }, - "stackMeasuresToPercent": true, "xaxis": { - "visible": false + "name": { + "visible": false + } }, "yaxis": { - "labelsEnabled": false, "name": { "visible": false } } } - }, - "visualizationUrl": "local:column", - "version": "2" + } }, - "description": "Breakdown of total net sales by customer location (top five cities).", - "id": "ea6f316e-2d64-489f-8b37-2f031e8bbbbf", - "title": "Net Sales Share by Top 5 City" + "description": "highlights the top 10 best-selling products based on net order volume. It provides a clear comparison of which items are leading in sales performance, helping identify high-demand products.", + "id": "top_sold_products", + "title": "Top Sold Products" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "af090190f4334a768fc217e9c17023fc", + "alias": "Previous period", + "title": "Net sales - SP year ago", + "localIdentifier": "442792c638df4c0283af94d95a1d3612_pop", + "definition": { + "popMeasureDefinition": { + "measureIdentifier": "442792c638df4c0283af94d95a1d3612", + "popAttribute": { + "identifier": { + "type": "attribute", + "id": "date.month" + } + } + } + } + } + }, + { + "measure": { + "alias": "Current period", + "title": "Net sales", + "localIdentifier": "442792c638df4c0283af94d95a1d3612", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "sales_conversion_rate", - "type": "metric" + "type": "metric", + "id": "net_sales" } }, "filters": [] } - }, - "title": "Sales Conversion Rate" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "af090190f4334a768fc217e9c17023fc_previous_period", + "alias": "Difference between periods", + "title": "Difference of Net sales and Net sales - SP year ago", + "localIdentifier": "bbc213b8c5c643e5a31a69143280f16c", + "format": "#,##0.00", "definition": { - "previousPeriodMeasure": { - "measureIdentifier": "af090190f4334a768fc217e9c17023fc", - "dateDataSets": [ - { - "dataSet": { - "identifier": { - "id": "date", - "type": "dataset" - } - }, - "periodsAgo": 1 - } - ] + "arithmeticMeasure": { + "measureIdentifiers": [ + "442792c638df4c0283af94d95a1d3612", + "442792c638df4c0283af94d95a1d3612_pop" + ], + "operator": "difference" + } + } + } + } + ] + }, + { + "localIdentifier": "view", + "items": [ + { + "attribute": { + "localIdentifier": "1b9548824b3d4ade9666659cf8cda074", + "displayForm": { + "identifier": { + "type": "label", + "id": "date.weekOfYear" } - }, - "alias": "Previous period" + } } } - ], - "localIdentifier": "secondary_measures" + ] } ], + "sorts": [], "filters": [ { "relativeDateFilter": { "dataSet": { "identifier": { - "id": "date", - "type": "dataset" + "type": "dataset", + "id": "date" } }, - "granularity": "GDC.time.quarter", - "from": -1, - "to": -1 + "granularity": "GDC.time.month", + "from": -11, + "to": 0 } } ], - "sorts": [], "properties": { "controls": { - "comparison": { - "enabled": true, - "isArrowEnabled": true, - "labelConfig": { - "isConditional": true + "colorMapping": [ + { + "id": "442792c638df4c0283af94d95a1d3612", + "color": { + "type": "guid", + "value": "06" + } + }, + { + "id": "bbc213b8c5c643e5a31a69143280f16c", + "color": { + "type": "guid", + "value": "01" + } } + ], + "xaxis": { + "rotation": "0", + "visible": true } } - }, - "visualizationUrl": "local:headline", - "version": "2" + } }, - "description": "", - "id": "ec9b9afa-96f7-439a-8ce2-94735173b98a", - "title": "Sales Conversion Rate (%)" + "description": "Tracks daily net sales over the past 12 months and compares them to the same period in the previous year, helping identify growth patterns, seasonal shifts, and performance trends.", + "id": "total_net_sales_current_vs_last_year", + "title": "Total Net Sales: Current vs. Last Year" }, { "content": { + "version": "2", + "visualizationUrl": "local:donut", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "329aa3cc4dab4b24acbd667bdc622e54", + "title": "Total discounts", + "localIdentifier": "ec39060b8362444e9fe4bacb7c6e4c2b", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "number_of_orders", - "type": "metric" + "type": "metric", + "id": "total_discounts" } }, - "computeRatio": false, "filters": [] } - }, - "title": "# of Orders" - } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ - { - "attribute": { - "localIdentifier": "212835194328458fae55274e2b7606d4", - "displayForm": { - "identifier": { - "id": "date.hourOfDay", - "type": "label" - } - }, - "alias": "Hour of Day" + } } - } - ], - "localIdentifier": "view" - } - ], - "filters": [], - "sorts": [], - "properties": {}, - "visualizationUrl": "local:column", - "version": "2" - }, - "description": "Shows how the number of orders placed varies across different hours of the day, helping identify peak purchasing times and customer ordering patterns.", - "id": "f1027458-1123-4f4d-af20-0e21b1d5e009", - "title": "Placed Orders by Hour" - }, - { - "content": { - "buckets": [ - { - "items": [ + }, { "measure": { - "localIdentifier": "2a97814eeab147098977d7897b0c9a17", + "title": "Total returns", + "localIdentifier": "50fe87b2aed5402c83560cec490b184d", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_sales", - "type": "metric" + "type": "metric", + "id": "total_returns" } }, "filters": [] } - }, - "title": "Total Sales" + } } }, { "measure": { - "localIdentifier": "65e5344addea4da7963af25a96ead8b1", + "title": "Cogs", + "localIdentifier": "85c76738129d4167bd339128e9f83100", + "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_discounts_n", - "type": "metric" + "type": "metric", + "id": "cogs" } }, "filters": [] } - }, - "title": "Total Discounts (Negative)", - "alias": "Total Discounts", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + } } }, { "measure": { - "localIdentifier": "4651549e7602441f90085a108f464f26", + "title": "Gross profit", + "localIdentifier": "dc5f7ccc7b274b2cb02d2923b791b366", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "total_returns_n", - "type": "metric" + "type": "metric", + "id": "gross_profit" } }, "filters": [] } - }, - "title": "Total Returns (Negative)", - "alias": "Total Returns", - "format": "[>=1000000000000]$#,,,,.0 T;\n[>=1000000000]$#,,,.0 B;\n[>=1000000]$#,,.0 M;\n[>=1000]$#,.0 K;\n[>=0]$#,##0;\n[<=-1000000000000]-$#,,,,.0 T;\n[<=-1000000000]-$#,,,.0 B;\n[<=-1000000]-$#,,.0 M;\n[<=-1000]-$#,.0 K;\n[<0]-$#,##0" + } } } - ], - "localIdentifier": "measures" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "legend": { - "enabled": false - }, - "total": { - "enabled": true, - "name": "Total" + "colorMapping": [ + { + "id": "dc5f7ccc7b274b2cb02d2923b791b366", + "color": { + "type": "guid", + "value": "02" + } + }, + { + "id": "50fe87b2aed5402c83560cec490b184d", + "color": { + "type": "guid", + "value": "04" + } + }, + { + "id": "ec39060b8362444e9fe4bacb7c6e4c2b", + "color": { + "type": "guid", + "value": "06" + } + } + ], + "dataLabels": { + "visible": "auto" }, - "xaxis": { - "rotation": "0" + "legend": { + "position": "top" } } - }, - "visualizationUrl": "local:waterfall", - "version": "2" + } }, - "description": "Shows the impact of discounts and returns on total revenue, helping assess true sales performance after adjustments.", - "id": "f52cdf0e-dd0a-40cf-b1dd-e7c25dad2b63", - "title": "Net Sales Breakdown" + "description": "Breaks down total sales into key financial components — COGS (Cost of Goods Sold), Gross Profit, Total Discounts, and Total Returns — offering a clear view of how revenue is distributed across profitability and cost factors.", + "id": "total_sales_breakdown", + "title": "Total Sales Breakdown" }, { "content": { + "version": "2", + "visualizationUrl": "local:column", "buckets": [ { + "localIdentifier": "measures", "items": [ { "measure": { - "localIdentifier": "bb011d8f97f34ae189c5fa335cd3922b", + "title": "Gross profit", + "localIdentifier": "43d47ba6d22c4447ab42f0c6dd779531", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_unit_cost", - "type": "fact" + "type": "metric", + "id": "gross_profit" } }, - "aggregation": "avg", "filters": [] } - }, - "title": "Avg Order unit cost", - "alias": "Average Unit Cost", - "format": "#,##0.00" + } } - } - ], - "localIdentifier": "measures" - }, - { - "items": [ + }, { "measure": { - "localIdentifier": "45a9eefd26614bf5a3a99c38f6425d5f", + "title": "Total discounts", + "localIdentifier": "68d98accca8341409b32d7cb867997d4", "definition": { "measureDefinition": { "item": { "identifier": { - "id": "order_unit_price", - "type": "fact" + "type": "metric", + "id": "total_discounts" } }, - "aggregation": "avg", "filters": [] } - }, - "title": "Avg Order unit price", - "alias": "Average Unit Price", - "format": "#,##0.00" + } + } + }, + { + "measure": { + "title": "Total returns", + "localIdentifier": "85fc5c81563548dda143affb4a4fd1bd", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "total_returns" + } + }, + "filters": [] + } + } + } + }, + { + "measure": { + "title": "Cogs", + "localIdentifier": "e35dbadd507744e98c0219fc53ff3887", + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "type": "metric", + "id": "cogs" + } + }, + "filters": [] + } + } } } - ], - "localIdentifier": "secondary_measures" + ] }, { + "localIdentifier": "view", "items": [ { "attribute": { - "localIdentifier": "29b4d4fd443547f1952b8ffea87a2118", + "localIdentifier": "47169ff5ce3b4193922b4f9b41199a2a", "displayForm": { "identifier": { - "id": "product_id", - "type": "label" + "type": "label", + "id": "date.month" } } } } - ], - "localIdentifier": "attribute" + ] } ], - "filters": [], "sorts": [], + "filters": [], "properties": { "controls": { - "clustering": { - "enabled": true, - "numberOfClusters": "4", - "threshold": "0.10" - }, - "legend": { - "enabled": false, - "position": "top" - } + "colorMapping": [ + { + "id": "43d47ba6d22c4447ab42f0c6dd779531", + "color": { + "type": "guid", + "value": "02" + } + }, + { + "id": "68d98accca8341409b32d7cb867997d4", + "color": { + "type": "guid", + "value": "01" + } + }, + { + "id": "85fc5c81563548dda143affb4a4fd1bd", + "color": { + "type": "guid", + "value": "04" + } + }, + { + "id": "e35dbadd507744e98c0219fc53ff3887", + "color": { + "type": "guid", + "value": "03" + } + } + ], + "stackMeasures": true } - }, - "visualizationUrl": "local:scatter", - "version": "2" + } }, - "description": "Compares average unit cost vs. average unit price across products, segmented by clusters to identify pricing patterns.", - "id": "fd4fb308-50d6-4a61-accc-e0f17039d144", - "title": "Product Pricing Breakdown" + "description": "Tracks monthly trends in Gross Profit, COGS, Discounts, and Returns to show how each component contributes to total sales.", + "id": "total_sales_over_time", + "title": "Total Sales Over Time" } ] } diff --git a/ecommerce-demo/workspaces/demo/workspaceSettings.json b/ecommerce-demo/workspaces/demo/workspaceSettings.json index d8523b1..234dd97 100644 --- a/ecommerce-demo/workspaces/demo/workspaceSettings.json +++ b/ecommerce-demo/workspaces/demo/workspaceSettings.json @@ -1,8 +1,8 @@ { - "colorPalette": { - "colorPaletteId": "gdc_demo_colorPalette_modern" - }, - "theme": { - "themeId": "gdc_demo_theme_pink_light" - } -} + "colorPalette": { + "colorPaletteId": "gdc_demo_colorPalette_lime" + }, + "theme": { + "themeId": "dc_demo_theme_lime" + } + } \ No newline at end of file